Wednesday, March 02, 2011

Java Interview Preparation Questions with Answers Part 1

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.This is a series of questions and answers from beginner level to expert level  and here are  first 15 Questions and Answers.

  • What's Java?
  • What does a well-written OO program look like?
  • Can you have virtual functions in Java?
  • Jack developed a program by using a Map container to hold key/value pairs. He wanted to make a change to the map. He decided to make a clone of the map in order to save the original data on side. What do you think of it? ?
  • What is more advisable to create a thread, by implementing a Runnable interface or by extending Thread class?
  • What is NullPointerException and how to handle it?
  • An application needs to load a library before it starts to run, how to code??
  • How could Java classes direct program messages to the system console, but error messages, say to a file?
  • What's the difference between an interface and an abstract class?
  • Name the containers which uses Border Layout as their default layout?
  • What do you understand by Synchronization?
  • What is Collection API?
  • Is Iterator a Class or Interface? What is its use?
  • What is similarities/difference between an Abstract class and Interface?
  • How to define an Abstract class?
  • How to define an Interface?
  • For Answers Click here

2 comments:

  1. Thanks for the info
    http://twitter.com/#!/NiveaMenWorld

    ReplyDelete
  2. I am new to this website and I have found it very helpful. I am in college working for my Masters in Teaching. I have been substitute teaching for 3 years. Do you have any advice for substitutes as well as student teaching and what I need to do from here? Can you tell me about funny interview questions.

    ReplyDelete