Java Theory interview questions

difference between class and object?
what  are class variables and local variables?
what is the difference between static and final ?
what are the modifiers present in java?
what are access modifiers and non access modifieres?
what about static block?
why we use static block?
what about try catch block?
can we write try without catch?
what is finally block in java?
how many catch blocks we can write for one try block?
what is tyhe difference between final and finally and finallyze?
what is the use of constructor in java?
what is the use super key word in java?
what is the use of the this keyword in java?
what is the use of this keyword in constructors calling?
what is wrapper classes?
Difference between throw and throws and throwable?
difference between string and string buffer and string builder?
can we overload a constructor?
what is inheritance?
different types of inheritance?
what is polymorphism?
different types of polymorphism?
what is abstraction?
what is encapsulation?
what is abstract keyword?
what is void and return?
what is method overloading and overriding?
different types creating objects?
local and static and nonstatic strings storage area?
by using parent class reference variable and child class reference variable what type of methods we can call?
difference between constructor and method?
how to call static methods ?
what is synchronization?
difference between array and collection?
what is enum concept?


Comments

Popular posts from this blog

Selenium Locators usage

java programmes frequently asked in interview