Here you can find out a list of interview questions for core java and advance java. These questions are often asked by the interviewer for core java job interview. We put our maximum effort to make this answers error free. But still there might be some errors. If you feel any answer given for any question is wrong or if you have a more perfect answer to give, please, please inform us by COMMENTING THE POST.
CORE JAVA QUESTIONS AND ANSWERS:
Questions and Answers are updated daily.
CORE JAVA QUESTIONS AND ANSWERS:
- Why threads block or enters to waiting state on I/O?
- what is a class?
=> A class is a blueprint of any java program. which helps java to be object oriented.
- what is an object?
=> An Object is instance of a class.
For eg.
Abc ob = new Abc();
Abc is a class & ob is a object of class Abc.
- what is a transient variable?
- which containers use a border Layout as their default layout?
- How Observer and Observable are used?
- What is an abstract method ?
- What is a Vector ?
- What's new with the stop(), suspend() and resume() methods in JDK 1.2?
- What is the initial state of a thread when it is created and started?
- What is a native method?
- What modifiers may be used with an inner class that is a member of an outer class?
- What is the use of the finally block?
- Can we call finalize() method ?
- What is the difference between an Interface and an Abstract class?
- Explain different way of using thread?
- Difference between HashMap and HashTable?
- What is the difference between a constructor and a method?
Questions and Answers are updated daily.
No comments:
Post a Comment