-
Java LinkedList Implementation
If Java does not have pointers then how LinkedList is implemented in Java?
-
Java Copy Command
Write the Java version of MS DOS Copy Command
-
Try Catch
Which design pattern is used in try catch?
-
Call Main Function Explicitly
Can we call the main function explicitly? If Yes, How?
-
JDBC Form Data
Can we represent data in the form of objects in JDBC? Explain
-
Class Instance
How many ways one can create an instance of a class?
-
DataType Byte Values
What are the byte values of datatypes?
-
Inherit Private/Protected Class
Can a private/protected class be inherited? Explain
-
Java Program Execution
How does Java program compile and execute to give output?
-
Runnable Interface
Why we are using by implementing the runnable interface rather than we have the run() method in Thread class?
-
Core Java
What is difference between Core Java and Advance Java?
-
Read Input at Run Time
What are the different ways to read input from keyboard at run time?
-
Constructor Call
How can we call a constructor through another constructor in the same class?
-
Garbage Collector
What are the 4 stages of garbage collector? How and when Garbage collector comes into picture? What is the importance of finalize method?
-
Convert List Object to Map Object
How to convert list object in to map object?
-
Java Methods
What are the different types of methods and their use in Java?
-
Vector Size
What is the default size of Vector
-
Compress String
How to compress a String (algorithem)?
-
MVC Advantages
What is MVC and what are its advantages?
-
Servlet Lifecycle
What is the Lifecycle of a Servlet?
Java Interview Questions
Ans