Core Java assignments list

 Core Java assignments list :


1. Write First java program to print your name.

2. Write a java program to perform arithmetic operations

3. Write a java program to demonstrate use of relational operators

4. Write a java program to demonstrate use of logical operators

5. Write a java program to demonstrate unery operator (++ and -- ) (post and pre) operators.

6. Java program to calculate compound interest

7. Java program to calculate power of number 

8. Java program to swap two variables

9. Java program to Calculate area of rectangle

10. Java program to print ascii value of character

11. Java program to print default values of primitive datatype variables

12. Java program to swap two variables without using the third variable

13. Java program to print Fibonacci series till n

14.  Java program to calculate the area and perimeter of the circle.

15. write a program to check a number and print if it is positive using if

16. write a program to check a number and print wheather it is positive or negative using if else 

17. write a program to declare a variable with value and print wheather it is positive/negative/zero using else if ladder

18. write a program to take a number from user, and perform operation as per his choice for arithmetic operations using switch.

19. write a program to print numbers from 1 to 100 using while loop

20. program to print numbers from 1 to 10 using do while loop

21. write a program to print 1 to 100 using for loop

22. write a program to print below pattern using nested loop

/*

 

*

**

***

****

*****

 

*/


23. write a program to store 4 integer values in array, print those by traversing using for each

24. write a program to store 4 integer values in arraylist, print those by traversing using for each

25. java program to find all the prime numbers from 1 to N

26. java program to find factorial of given number

27. Program to Check if a number is palindrome or not

28. java Program to Check wheather number is Armstrong or not

29. java program to Find square root of a number without sqrt method

30. Write a program to declare and initialize 1 dimentional array and display its elements

31. Write a program to declare and initialize 2 dimentional array and display its elements

32. Java program to calculate average of array elements

33. Java program to reverse an array

34. Java program to sort an array in ascending order


35. Java program to Convert Character Array to String


36.  java program to perform addition of matrix


37. java program to sort names of array, alphabetically


38. java program to print first largest and second largest number among elements of array

 
39. Java Program to merge two arrays, store them in another array and print


40. Java program to Find square root of a number without sqrt method


41. Program to implement string class methods

42. Program to access object of one class into another class

43. Java program to print numbers from 1 to 5 using recursion

Comments

Popular posts from this blog

Learning Core Java

Basic Java con_cd