Q1. Describe the use of any four bit-wise operators and illustration of operator with the help of illustrations.
Q2. Illustrate the differences between the Array List and Array? Describe the use of Array List with the help of an illustration.
Q3. Define an interface by using JAVA which contains a method to compute the perimeter of an object. Define the two classes-circle and Rectangle with appropriate fields and methods.
Implement the interface “perimeter” in such classes. Write down the suitable main() method to create object of each class and test all methods.
Q4. Describe Method overloading and Method overriding with appropriate example. Can you overload operators in the java?