-
-
-
-
Why should we extend Exception instead of Throwable?
We usually extend Exception instead of Throwable. Why? In what situations we extend Throwable.Could anybody give the answer in detail. Thanks in advance.
-
Difference between throw and throws
What exactly is the difference between between throw and throws? If both are used for the same purpose then why are both needed instead of one?
-
Read Number Methods
How many methods to read numbers and characters and what should be used.
-
Command prompt argument
How to pass commandline arguments in main function through Eclipse Tools (editors).
-
-
Overloading Performance
If Overloading is not going to help to increase performance then why we need to use same name for different methods?
-
Create Object Using Clone
Give an example of using clone to create an object.
-
Importance of java.lang.obj
What is the significance of java.lang.object class?
-
-
Implement and Extend Keywords
What is the implement, what is the extend keyword, what is the difference, give me answers in briefly ?
-
Database Driver
How to find which type driver used in Java or J2EE applications? Which type used commonly?
-
Abstract class and interfaces
Where should we use exactly abstract class and interfaces?
-
JVM uses which one of these to save hashcode,Hashtable or HashMap or HashSet??
Please answer my question....
-
MVC architecture
what is the difference between MVC1 & MVC2 in Java?
-
How Treeset implementation maintains unique elements in it?
How an Treeset maintains the unique element? Which algorithm does it use?
What is the advantages over doing the same using the Arraylist manually? -
Sub Class method call
When the Subclass method is called, does the SuperClass constructor execute? If so, which Constructor executes first (Sub Class OR Super Class) for the given below scenarios?
a. Given that we are NOT inheriting SuperClass constructor?
b. Given that we are inheriting SuperClass constructor? -
Core Java Interview Questions
Ans