6. Write a Java program to check whether a year is leap year or not. Static Solution :- class leap { public static void main(String args[]) { int no1=2010; if(no1 % 4 == 0) { System.out.println("It is Leap Year :- "+no1); } else { System.out.println("It is not a Leap Year :- "+no1); } } } Output :- Dynamic Solution :- import java.util.*; class leap { public static void main(String args[]) { int no1; Scan...
All computer course for class 9th to 12th with proper practical and theory .........