Java addition program
PROGRAM: public class Addition { public static void main(String args[]) { int no1, no2, addition; no1 = 5; no2 = 9; addition = no1+no2; System.out.println(+addition); … Read more
PROGRAM: public class Addition { public static void main(String args[]) { int no1, no2, addition; no1 = 5; no2 = 9; addition = no1+no2; System.out.println(+addition); … Read more
PROGRAM: To display a message public class PrintSentence { public static void main(String args[]) { System.out.println(“Welcome to Java”); } } … Read more