JAVA Program to Find Area of Room using Final Variable

JAVA Program to Find Area of Room using Final Variable: // program to use the final variable class Room {…

add comment

JAVA Program to make use of Abstract Class

JAVA Program to make use of Abstract Class: // program to use the Abstarct class and Method abstract class Person…

add comment

JAVA Program to Accept Numbers and Display in Words

JAVA Program to Accept Numbers and Display in Words: import java.io.*; class num_to_word { public static void main(String args[]) {…

add comment

JAVA Program to Find GCD of Two Numbers

JAVA Program to Find GCD of Two Numbers: import java.io.*; class gcd { public static void main(String args[]) { int…

add comment

JAVA Program to Accept Details of Books in Array and Display it

JAVA Program to Accept Details of Books in Array and Display it: class books { int bookid,no_of_copies; String author,title; double…

add comment

JAVA Program to Accept Details of Voters in Array and Display it

JAVA Program to Accept Details of Voters in Array and Display it: class voter { String voter_name,voter_address; int votercontactno,voteradhar; voter(String…

add comment

JAVA Program to Calculate Number of Vowel in String

JAVA Program to Calculate Number of Vowel in String: import java.io.*; import java.lang.*; class vowel { public static void main(String…

add comment

JAVA Program to Find Area of Rectangle

JAVA Program to Find Area of Rectangle: class rect { int len,wid; int area; rect(int l,int w) { len=l; wid=w;…

add comment

JAVA Program to Print Odd Numbers up to 100

JAVA Program to Print Odd Numbers up to 100: import java.io.*; class even { public static void main(String args[]) {…

add comment

JAVA Program to Print Even Numbers up to 100

JAVA Program to Print Even Numbers up to 100: import java.io.*; class even { public static void main(String args[]) {…

add comment