Java J2EE Interview Questions
Questions Answers Views Company eMail

What are the restriction imposed on a static method or a static block of code?

580

What will happen to the exception object after exception handling?

557

What will happen if static modifier is removed from the signature of the main method?

511

What is the difference between superclass and subclass?

532

What is meant by inheritance and what are its advantages?

563

Under what conditions is an object’s finalize() method invoked by the garbage collector?

567

If a method is declared as protected, where may the method be accessed?

517

What is constructor chaining and how is it achieved in java?

561

Variable of the boolean type is automatically initialized as?

579

What is dynamic binding(late binding)?

574

What is the difference between the prefix and postfix forms of the ++ operator?

543

Which method must be implemented by all threads?

709

What is nested class?

554

What is dot operator?

561

What is method overloading and method overriding?

527


Un-Answered Questions { Java J2EE }

Which server-side script takes the input from JavaScript, can access the database if it needs to, and processes the data.

1584


What is entity manager in hibernate?

150


What is action support class in struts2?

556


What is overloading and overriding in java?

646


What do you do with deadletter queue cases?

432






What is boolean flag in java?

563


What is the difference between abstract class and interface1? What is an interface?

544


Does spring boot need tomcat? : Spring Boot

149


What is session evict in hibernate?

151


What state is a thread in when it is executing?

515


What is the best java course?

486


Explain about the library tag?

587


Where is mysql jdbc driver located?

505


What are the various access specifiers in java?

551


What is the front controller class of spring mvc?

150