JavaStud

2025-12-07 0 946

JavaStud

This is java tutorial example series. Visit http://yro-tech.*blog**spot.com/ blog for more resources.

1.Introduction:
2.OOP:
3.Exception Handling,Inner Class, Date Time, Joda time, Reflection:
4.Multithreading, IO, Serialization:
5.Collections, Java Generics:
6. JDBC
7. Swing    (Project here..)
8. Java EE/Servlet   /  JSP   :wavy_dash:Web Project(Jsp/Servlet)
10. Maven
11. Hibernate    (Hibernate Project Here…)
11. Spring AOP Dependency Injection Project..
12. Spring Web:    (Spring Web Mvc/Hibernate Project…)    Spring boot version: springmvcweb-boot

Some Extra course along with Spring MVC WEB!

12.1 Angular JS APP
12.2 [Design Pattern]

Factory Pattern
Singleton Pattern
MVC Pattern
Builder Pattern
Decorator Pattern

12.3 [Java – 8]

Lambda Expressions
Default methods
Functional interfaces
Streams
Filters
Date-Time Package

12.4 [JUnit]

Assertions
assertThat
Execution order
@Test
@BeforeClass
@AfterClass
@Before
@After

☕ NEXT ⏩ Industrial Java Development With Advance Web(Training) ☕

If this repository helps you in anyway, show your love ❤️ by putting a on this project ✌️

---------------------------------------------
Assignment 1: http://www.c*tae.**ac.in/images/editorFiles/file/Lab%20Solutions%20of%20CSE_IT/java.pdf
1. Write a program to find sum and average of N number using command line argument.
2. Write a program to find sum and average of N number input by User(using Scanner class).
3. Write a program to Demonstrate type casting of all type of data type in java.
4. Write a program to Demonstrate boxing/un-boxing of all types of data type in java.
5. Write a program to test prime number.
6. Write a program to calculate Simple Interest input by user. Simple Intrest = P*T*R/100
7. Write a program to display following string in the console:

<!DOCTYPE html>
<html lang=\"en-US\">
<script src=\"http://ajax.*g*oo*gleapis.com/ajax/libs/angularjs/1.3.14/angular.min.js\"></script>
<body>

<div ng-app=\"\">
 	<p>Name : <input type=\"text\" ng-model=\"name\"></p>
 	<h1>Hello \'{{name}}\'</h1>
</div>

</body>
</html>
---------------------------------------------
Assignment 2: Src: http://www.*s*cr*ibd.com/doc/68627280/Java-Lab-Test-Final-Questions#scribd
1.Write a program with different methods to convert Fahrenheit to Celsius andCelsius to Fahrenheit.
2.Write a program to take input from the user and calculate sales-tax.
3.Write a program to take input from the user and calculate interest rate (10%) for giving loan.
4.Write a program that reads in the radius and length of a cylinder and computesvolume.
5.Write a program that converts pounds into kg. The program prompts the user toenter a number of pounds, converts it to kg and displays the result [ 1 pound is0.454 kg].
6.Write a program that reads an integer 0 to 1000 and adds all the digits in integer.[For example: 911 (input) -> 11 (result)].
7.Write a program that converts lowercase letter to uppercase letter. [hint: int offset= ‘a’ – ‘A’; char uppercase = (char) (lowercase-offse) ]
8.Write a program that receives an ASCII code (int between 0 – 128) and display itscharacter [example : 97 (input) -> A(output)].
9.Write a program that reads following information -> Employee’s name, number of hours worked in week, hourly pay rate, tax (20%) with-holding from user and prints a payroll statement with employee’s details.
10.Write a program that reads in investment amount, annual interest rate and number of years. Display the future investment value of the person.
11.Write a program that calculates the energy needed to heat water from an initialtemperature to final temperature. Your program should prompt the user to enter the amount of water in kg and initial and final temperature of water.
12.Write a program that displays the following table (5 IN ROW):

a b pow(a,b)     a b pow(a,b)
---------------------------------------------------------------
1 2 1            6 7   ______ 
2 3 8            7 8   ______
3 4 81           8 9   ______ 
4 5              9 10  ______
5 6              10 11 ______

13.Write a program to calculate leap year.
14.Write a program that reads an integer and checks whether it is even, odd or primenumber, print the same as output.
15.Write a program which sorts given numbers, which is provided by user.
16.Write a program to display multiplication table for the given number by user.
17.Write a program to calculate GCD and LCM of the given input from user indifferent methods. 
18.Write a program that prompts the user to enter the number of students and eachstudent’s name and score. Finally display the student with highest score.
19.Write a program that displays all number from 100 to 1000, ten per line that aredivisible by 5 and 6.
20.Use a while loop to find the smallest integer ‘n’ such that n square (n2) is greater than 12000.
21.Write a program that display all leap years, ten per line, in the twenty first centure(2001 to 2100).
22.Write a program that prompts the user to enter a decimal integer and display itscorresponding binary value. Use built-in class and without built-in class.
23.Write a program to display an integer in reverse order [ example : 1345 (input) ->5431 (output)].
24.Write a program that prompts the user to enter a decimal integer and display itscorresponding hexadecimal value.
25.Write a program to find if the given input is palindrome or not. Also includedifferent method to see if number is prime or not.
26.Write a program which reads the score, then finds best score and finally assignsgrades to the students and prints the students details in order. (use array)
27. Write a program to count number letters in given array, with built-in function andwithout built-in functions.
28.Write a program which prompts for set of elements and search given key element.
29.Write a program to sort given array elements using insertion sort.
30.Write a program that reads eleven number from user, computes their average, andfinds out how many numbers are below average and displays duplicate numbers.
31.Write two overloaded methods that return the average of an array with followingheaders: public static int averate(int[] array); and public static doubleaverage(double[] array).
32.Write a program which reads two matrices (2 D) and adds two matrices anddisplays the output on screen.
33.Write a program with different methods to do these array operations -> sort anarray and search an element inside it, determine the upper bound of 2D array.
34.Write a program with different methods to do these array operations -> sort anarray and insert an element inside it, determine the upper bound of 2D array.
35.Write a program with different methods to do these array operations -> reverse anarray, search mini and the maxi element in an array.
36.Write a program with different methods to do these array operations -> comparetwo arrays and display if it is equal or not.
37.Write a program to use methods for calculating Fibonacci series using recursion.
38.Write a program to use recursion for calculating factorial of a number.
39.Write a program to demonstrate various arithmetic and assignment operations,right shift and left shift.
40.Write a program to accept string in command line and print the same, also counthow many characters are in the given string.
41.Write a program to demonstrate various relational and logical operations.
42.Write a program using different methods to demonstrate conditional operator anddo type conversions from -> double to float, short to int, double to int, chat to int,int to short.
43.Write a program using different methods with different control flow controls (for,switch, while) to check whether an alphabet is a vowel or not.
44. Write an exception which catches if the value is very small(eg:<.01)
45. WAP which catches different exceptions 1.divide by 0, 2.Array boundindex error 3.Wrong datatype.
46. WAP to catch wrong input frm command line argument.
47. A simple applet to display a msg:HELLO WORLD on applet window.
48. Do d above pgm by passing parameters and align d msg.
49. Your own exception -> if number is two small, (declare variables as float, do anyarithmetic operationsif the output is less than 0.01 then call and exception).
50. Write a java program which catches exception for divide by zero and array indexerror and wrong data type.
51. Write a java program to catch wrong input from command line, ( declare int variable but input of different type).
52. Display \"Hello World \" on applet window53. Pass parameters and display string on applet screen.
54.Align the output \"Helloworld\" to rightmost corner, below, middle, leftmost corner,anywhere on the applet screen.
55. Write a program to calculate the value of X= sin x+cosx+tanx using multiple threads.
56. Define a thread using thread class to generate the factorials of first 20 naturalnumbers. create an instance for this thread and then activate it.
57. Write a program to generate the square roots of the first 30 natural numbers usingRunnable Interface.
58. Define a thread to display the odd numbered element in an array of size 50.define another thread to display even numbered element in another array of size 50.Create instances of the above threads and run them.
59. Write a program that executes three threads. first thread displays Good morning everyone second.second thread displays hello every two seconds and the third thread displays welcome inevery three seconds.create the three threads by extending the thread class.

Java soft installation

32 bit/64 bit:
1. Install JDK 1.8
2. Install 7zip software
3. spring-tool-suite:
	>create C:\\java-ws folder
	> copy zip file \"spring-tool-suite-3.8.1\" into C:\\java-ws folder
	> extract it there using 7zip
	
	To run spring-tool-suite:
	> go to sts-bundle>sts-3.8.1.RELEASE>STS.exe
	> it will promt select workspace dialog?
	  #give path of your workspace: C:\\java-ws
	  #tick checkbox (default)
	  #OK	

Install Maven in Mac/Linux:

/usr/bin/ruby -e \"$(curl -fsSL https://raw.gi**thubuserco*ntent.com/Homebrew/install/master/install)\"

Alternatively, I recommend installing Homebrew for these kinds of utilities.

Then you just install Maven using:
brew install maven
PS: If you got a 404 error, try doing a brew update just before

Install Maven in Linux Ubuntu:
sudo apt-get install maven

How to install lombok in mac:

Rename the file \"STS.EXE\" to \"sts.exe\" under ../sts-bundle/sts.app/Contents/MacOS/. 
And then run java -jar lomobok.jar and select the STS.ini file under ../sts-bundle/sts.app/Contents/Eclipse

[Assignments: ] (https://gi*t**hub.com/yrojha4ever/JavaStud/blob/master/Assignments.MD)
Some good Links:
[Designing Patterens for Human] (https://g*i*th*ub.com/kamranahmedse/design-patterns-for-humans)
[Java Exercism] (http://exer*cism.*i*o/languages/java/about)
[How to Conduct Good Programming Interview] (http://www.liha*o*y*i.com/post/HowtoconductagoodProgrammingInterview.html)

下载源码

通过命令行克隆项目:

git clone https://github.com/yrojha4ever/JavaStud.git

收藏 (0) 打赏

感谢您的支持,我会继续努力的!

打开微信/支付宝扫一扫,即可进行扫码打赏哦,分享从这里开始,精彩与您同在
点赞 (0)

申明:本文由第三方发布,内容仅代表作者观点,与本网站无关。对本文以及其中全部或者部分内容的真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。本网发布或转载文章出于传递更多信息之目的,并不意味着赞同其观点或证实其描述,也不代表本网对其真实性负责。

左子网 开发教程 JavaStud https://www.zuozi.net/31518.html

bamboobsc
上一篇: bamboobsc
mqttclient
下一篇: mqttclient
常见问题
  • 1、自动:拍下后,点击(下载)链接即可下载;2、手动:拍下后,联系卖家发放即可或者联系官方找开发者发货。
查看详情
  • 1、源码默认交易周期:手动发货商品为1-3天,并且用户付款金额将会进入平台担保直到交易完成或者3-7天即可发放,如遇纠纷无限期延长收款金额直至纠纷解决或者退款!;
查看详情
  • 1、描述:源码描述(含标题)与实际源码不一致的(例:货不对板); 2、演示:有演示站时,与实际源码小于95%一致的(但描述中有”不保证完全一样、有变化的可能性”类似显著声明的除外); 3、发货:不发货可无理由退款; 4、安装:免费提供安装服务的源码但卖家不履行的; 5、收费:价格虚标,额外收取其他费用的(但描述中有显著声明或双方交易前有商定的除外); 6、其他:如质量方面的硬性常规问题BUG等。 注:经核实符合上述任一,均支持退款,但卖家予以积极解决问题则除外。
查看详情
  • 1、左子会对双方交易的过程及交易商品的快照进行永久存档,以确保交易的真实、有效、安全! 2、左子无法对如“永久包更新”、“永久技术支持”等类似交易之后的商家承诺做担保,请买家自行鉴别; 3、在源码同时有网站演示与图片演示,且站演与图演不一致时,默认按图演作为纠纷评判依据(特别声明或有商定除外); 4、在没有”无任何正当退款依据”的前提下,商品写有”一旦售出,概不支持退款”等类似的声明,视为无效声明; 5、在未拍下前,双方在QQ上所商定的交易内容,亦可成为纠纷评判依据(商定与描述冲突时,商定为准); 6、因聊天记录可作为纠纷评判依据,故双方联系时,只与对方在左子上所留的QQ、手机号沟通,以防对方不承认自我承诺。 7、虽然交易产生纠纷的几率很小,但一定要保留如聊天记录、手机短信等这样的重要信息,以防产生纠纷时便于左子介入快速处理。
查看详情

相关文章

猜你喜欢
发表评论
暂无评论
官方客服团队

为您解决烦忧 - 24小时在线 专业服务