Function overload demo
Function overload demoCode: class functionOverload { /* void add(int a, int b) // 1 – A method with two parameters … Read More »Function overload demo
Function overload demoCode: class functionOverload { /* void add(int a, int b) // 1 – A method with two parameters … Read More »Function overload demo
(BlueJ) Java Program to Demonstrate Math ClassCode: public class MathDemo{ public static void main() { int angle = 45, x=10; System.out.println(“**** Program… Read More »(BlueJ) Java Program to Demonstrate Math Class
Java Program to find Leap Years between Certain PeriodCode: /*Java Program to find Leap Years between Certain Period*/class leapyears{ public static void main(int year) { int n; … Read More »Java Program to find Leap Years between Certain Period
(BlueJ) Java Program to display Triangle : BREAK DEMO. Code: /* Display Triangle as follow : BREAK DEMO. 1 2 3 4 5 6 7 8 9 10 …… Read More »(BlueJ) Java Program to display Triangle : BREAK DEMO.
(Bluej) Java Switch Case Demo to Convert Numbers to WordsCode: /* switch case demo to convert numbers to words Example : Input – 124 Output – One Two… Read More »(Bluej) Java Switch Case Demo to Convert Numbers to Words
(BlueJ,Java)Program to Find Whether No. is Palindrome or Not. Code: /* Write a program to find whether no. is palindrome or not. Example : Input – 12521… Read More »(BlueJ,Java)Program to Find Whether No. is Palindrome or Not.
Program to Find Whether Given No. is Armstrong or NotCode: /*Write a program to find whether given no. is Armstrong or not. Example : Input – 153 Output… Read More »Program to Find Whether Given No. is Armstrong or Not
(BlueJ,Java) Program to Generate a Triangle.Code: /*Write a program to generate a Triangle. eg: 1 2 2 3 3 3 4 4 4 4 and so on… Read More »(BlueJ,Java) Program to Generate a Triangle.
Program to Convert Given No. of Days Into Months and DaysCode: /* Write a program to convert given no. of days into months and days. (Assume… Read More »Program to Convert Given No. of Days Into Months and Days
Program to Display Multiplication Table- loopCode: /* Program to Display Multiplication Table */class MultiplicationTable{ public static void main(int num){ System.out.println(“*****MULTIPLICATION TABLE*****”); for(int i=1;i<=num;i++){ for(int j=1;j<=num;j++){ System.out.print(” “+i*j+” “); } System.out.print(“n”); } }} Comment below… Read More »Program to Display Multiplication Table- loop