Java Practical 1
Java Practical 1
Practical list - 1
3. Write a java program that takes A and B as two Boolean variables. Find
the following:
a. A|B
b. A&B
c. !A
d. A^B
e. (A|B)&A
6. Write a java program to list all even numbers between two numbers
11. Write a java program to check whether a given year is leap year
or not.
12. Write a java program that explains how you can use functions
provided by the Math class like
E, PI, round, abs, ceil, exp, floor, IEEEremainder, max, min, pow,
random, rint, sqrt