Saturday, March 26, 2011

Java Interview Preparation Questions with Answers Part 2

If you want to learn java or want to build a career in it or you are already  a java developer  then these JAVA Interview Questions with Answers will help you a lot.
These are the next 15 questions with answers from the Java series of questions and answers 
  • Which containers use a border layout as their default layout?
  • How are Observer and Observable used?
  • What is synchronization and why is it important?
  • What are synchronized methods and synchronized statements?
  • What are three ways in which a thread can enter the waiting state?
  • Can a lock be acquired on a class?
  • What's new with the stop(), suspend() and resume() methods in JDK 1.2?
  • What is the preferred size of a component?
  • What's the difference between J2SDK 1.5 and J2SDK 5.0?
  • What would you use to compare two String variables - the operator == or the method equals()?
  • What is thread?
  • What is multi-threading?
  • How does multi-threading take place on a computer with a single CPU?
  • How to create a thread in a program?
  • Can Java object be locked down for exclusive use by a given thread?
For answers Click here

0 comments:

Digg Facebook Technorati Delicious StumbleUpon Reddit BlinkList Furl Mixx Google Bookmark Yahoo Add to Technorati Favorites TwitThis

Post a Comment