Question: A leap year is a year, occurring once every four years, which has 366 days including 29 February as an intercalary day. Write a program

A leap year is a year, occurring once every four years, which has 366 days including 29 February as an intercalary day. Write a program in java which checks if the year is leap or not using if-else statement. What is the role of final key word in java? What will happen if we make a class, method, or variable as final? Print numbers from I to 10 using do_while loop. Qno4: Write in details answers to the following questions What is String contains () method in java? Write a program to illustrate the use of string contains () method. ii if java array named arr_new contains values { 44 98 00 1 1 33 44 55 33 22 1 1 44 33 55 66 88 44 33 99 33 44 22 11 22). Keeping in mind the features of java like code re-usability and abstraction, chose one of the types of loop mechanism to print values of array which require less memory and done the job in a few lines of code comparatively than others
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
