Java J2EE Interview Questions
Questions Answers Views Company eMail

What part of memory - Stack or Heap - is cleaned in the garbage collection process?

1 373

What is the difference between the program and the process?

1 352

. What are the differences between constructor and method of a class in Java?

1 380

How do you use final keywords and final variables in Java?

2 225

In Java, what types of classes perform inheritance?

2 240

What types of inheritance does Java support?

2 223

What is Java exception handling?

1 228

What are the differences between unchecked exception, checked exception, and errors?

2 322

What are the types of loops in Java, and how are they used?

2 231

How do you declare an infinite loop?

2 259

What is the difference between the continue and break statement?

2 240

What is the entry point in Java, and how is it written?

2 268

In Java, what are public static void main string args?

2 234

In Java, what’s the purpose of static methods and static variables?

2 296

How do you use, call, and access a static method in Java?

2 291


Un-Answered Questions { Java J2EE }

How many times finalize method will be invoked? Who invokes finalize() method in java?

779


Is a case study a method or methodology?

643


Does it matter in what order catch statements for filenotfoundexception and ioexception are written?

705


How do you define a set in java?

723


Can constructor be protected in java?

709


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?

1259


How do you invoke a Servlet? What is the difference between doPost method and doGet method?

833


What is a Hash Table? What are the advantages of using a hash table?

834


What is preflight request?

721


What is the feature of jdbc v4?

690


Describe orm?

711


What is the main advantage of passing argument by reference?

703


What is servlet container?

866


Is it possible for a yielded thread to get chance for its execution again?

715


How many types of spring containers are there?

387