Basic Core Java Practical Programs :
P1 : Write a Java program to print 'Hello World!' on screen:Try it!
P2 : Write a Java program to print the sum of two numbers :Try it!
P3 : Write a Java program that takes two numbers and display the product of two numbers :Try it!
P4 : Write a Java program to print the sum, multiply, subtract, divide and remainder of two numbers :Try it!
P5 : Write a Java program that takes five numbers as input to calculate and print the average of the numbers :Try it!
P6 : Write a Java program to swap two variables : Try it!
P7 : Write a Java program to convert a decimal number to binary numbers :Try it!
P8 : Write a Java program to convert a binary number to decimal number :Try it!
P9 : Write a Java program to check whether Java is installed on your computer or not :Try it!
P10 : Write a Java program and compute the sum of the digits of an integer :Try it!
P11 : Write a Java program to compare two numbers :Try it!
P12 : Write a Java program to count the letters, spaces, numbers and other characters of an input string :Try it!
P13 : Write a Java program to print the ascii value of a given character :Try it!
P14 : Write a Java program that accepts an integer (n) and computes the value of n+nn+nnn :Try it!
P15 : Write a Java program to display the system time :Try it!
P16 : Write a Java program to print the odd numbers from 1 to 20 :Try it!
P17 : Write a Java program to print the even numbers from 1 to 20 :Try it!
P18 : Write a Java program to convert a string to an integer :Try it!
P19 : Write a Java program to convert seconds to hour, minute and seconds :Try it!
P20 : Write a Java program to compute the sum of the first 100 prime numbers :Try it!
P21 : Write a Java program to swap the first and last elements of an array and create a new array :Try it!
P22 : Write a Java program to count the number of even and odd elements in a given array :Try it!
P23 : Write a Java program to compute the square root of an given integer :Try it!
P24 : Write a Java program to check if a positive number is a palindrome or not :Try it!
P25 : Write a Java program to add two numbers without using any arithmetic operators:Try it!
P26 : Write a Java program to add all the digits of a given positive integer :Try it!
P27 : Java program to find area of circle :Try it!
P28 : Java Program to find area of rectangle:Try it!
P29 : Java Program to find area of triangle:Try it!
P30 : Java Program to find area of equilateral triangle :Try it!
P31 : Java Program to find area of rhombus:Try it!
P32 :Java Program to find area of parallelogram :Try it!
P33 :Java Program to find area of Prism :Try it!
P34 :Java Program to find volume of sphere :Try it!
P35 :Java Program to find volume of cylinder :Try it!
P36 :Java Program to find volume of cuboid :Try it!
P37 :Java Program to find volume of cone :Try it!
P38 :Java program to find surface area of cuboid :Try it!
P39 :Java program to find surface area of cylinder :Try it!
P40 :Java program to find surface area of cube :Try it!
P41:Java program to calculate average marks :Try it!
P42 :Java program to check vowel or consonant :Try it!
P43 :Java program to sum of N numbers :Try it!
P44 : Java program to find factorial of any number :Try it!
P45 :Java Program to calculate electricity bill :Try it!
P46 :Java Program To Calculate CGPA Percentage :Try it!
P47 :Java Program to calculate compound interest :Try it!
P48 :Java Program To Calculate Batting Average :Try it!
P49 :Java Pogram to Calculate Commission Percentage :Try it!
P50 :Java Pogram To Find Distance Between Two Points :Try it!
P51 :Java Program To Calculate Power Of Number :Try it!
P52 :Write a Java program to take three numbers from the user and print the greatest number :Try it!
P53 : Write a Java program to find the number of days in a month:Try it!
P54 :Write a Java program to test a number is positive or negative :Try it!
P55 : Write a Java Program to accept number of week's day (1-7) and print name of the day:Try it!
P56 :Write a Java program that takes a year from user and print whether that year is a leap year or not :Try it!
P57 : Write a Java program to input 5 numbers from keyboard and find their sum and average:Try it!
P58 :Write a program in Java to display the first 5 natural numbers :Try it!
P59 :Write a java program to check vowel or consonant :Try it!
P60 :Write a java program to check vowel or consonant :Try it!
P61 :Write a Java program to display the n terms of odd natural number and their sum :Try it!
P62 :Write a Java program to display the multiplication table of a given integer :Try it!
P63 :Write a Java program that reads an integer and check whether it is negative, zero, or positive :Try it!
P64 :Write a Java program that reads an integer and check whether it is negative, zero, or positive :Try it!
P65 : Write a Java program that accepts three numbers and check All numbers are equal or not:Try it!
P66 :Write a java program that accepts three numbers from the user and check if numbers are in “increasing” or “decreasing” order :Try it!
P67 :Write a Java program that determines a student's grade :Try it!
P68 :Write a Java program to create a simple calculator :Try it!
P69 : Write a Program to concatenate the string : Try it!
P70 :Write a Java program to convert all characters in a string to lowercase :Try it!
P71 : Write a Java program to convert all characters in a string to uppercase:Try it!
P72 :Write a Java program to trim a string(remove whitespaces) :Try it!
P73 :Write a Java program to get a substring of a given string between two specified positions :Try it!
P74 :Write a Java program to replace all the 'd' characters with 'f' characters :Try it!
P75 :Write a Java program to replace all the 'd' characters with 'f' characters :Try it!
P76 :Write a java program to print current date and time in the specified format :Try it!
P77 : Write a java program to print current date and time in the specified format :Try it!
P78: Write a Java Program to remove a particular character from a string: Try it!
P79 : Write a java program to remove a particular character from a string :Try it!
P80 :Write a java program to remove html tags from a string :Try it!
P81 :Write a java program to remove html tags from a stringTry it!
P82 :Write a java program to remove html tags from a stringTry it!
P83 : Write a Java program to find the index of an array element :Try it!
P84 : Write a Java program to find the index of an array element:Try it!
P85 :Write a Java program to test if an array contains a specific value :Try it!
P86 : Write a Java program to find the maximum and minimum value of an array:Try it!
P87 :Write a Java program to insert an element (specific position) into an array :Try it!
P88 :Write a Java program to reverse an array of integer values :Try it!
P89 :Write a Java program to find the common elements between two arrays :Try it!
P90 : Write a Java program to find the duplicate values of an array of integer values :Try it!
P91 :Write a Java program to convert an array to ArrayList :Try it!
P92 : Write a Java program to add two matrices of the same size :Try it!
P93 :Write a Java program to find second largest number from the array :Try it!
P94 :Write a Java program to find second lowest number from the array :Try it!
P95 :Write a Java program to find the number of even and odd integers in a given array of integers :Try it!
P96 : Write a Java program to get the difference between the largest and smallest values in an array of integers :Try it!
P97 :Write a Java program to segregate all 0s on left side and all 1s on right side of a given array of 0s and 1s :Try it!
P98 :Write a Java program to cyclically rotate a given array clockwise by one :Try it!
P99 :Write a java program to print all unique element in an array :Try it!
P100 :Write a Java Program to Sort the Array in an Ascending Order :Try it!
P101 :Write a Java Program to Sort the Array in an Descending Order:Try it!
P102 :Write a Java Program to Sort the Names in Alphabetical order: Try it!
P103:Write a Java Program to Display Transpose Matrix: Try it!
P104:Write a Java Program to Search Key Elements in an Array: Try it!