Why does java not support operator overloading?
I want to print “hello” even before main is executed. How will you acheive that?
What is an abstract class and what is it’s purpose?
Class c implements interface I containing method m1 and m2 declarations. Class c has provided implementation for method m2. Can I create an object of class c?
Can an interface be final?
What is use of a abstract variable?
Can a class be declared as static?
What is the difference between an if statement and a switch statement?
Can we define private and protected modifiers for variables in interfaces?
What is a pointer and does java support pointers?
Why is the main method declared static?
I don’t want my class to be inherited by any other class. What should I do?
Can an interface implement another interface?
What do you understand by private, protected and public?
Which oo concept is achieved by using overloading and overriding?