java interview questions
JAVA SE Interview Questions
I. Core (classes, packages, access control, inheritance, polimorphism)
1. What is a class and package in Java ? Explain difference between them
2. What are the names of access control specifiers in Java
3. What is inheritance in Java ?
4. Give differences between early binding and late binding in Java ?
5. What are the advantages of polymorphism in Java ?
II. Interfaces Interview Questions
1. Explain the differences between interface and class in Java
2. How many interfaces can be implemented by one class in Java
3. How many interfaces can be extended by one interface in Java
4. How many classes can be extended by one class ?
III. Inner Classes Interview Questions
1. Do (not static) inner classes have access to private members of outer class in Java
2. Which members of outer class are accessible within inner class in Java
3. Can inner class be private in Java
IV. Collections Interview Questions
1. What are the difference between Set and List.in Java ?
2. What is the Map collection type in Java ?
3. What are the differences between ArrayList and LinkedList types in Java ?
V. Exceptions Interview Questions
1. What is exception in Java ? explain try and catch in Java ?
2. Can RuntimeExceptions be caught in Java?
3. Can You write your own exeptions in Java ?
VI. Generics Interview Questions
1. What is the difference between List and List (not parametrized list and list parametrized by String) in Java ?
2. Can you write your own generic types in Java ?
VII. Enumerations
1. What are enumerations in Java ?
2. Can one pass enumeration to switch statement in Java ?
VIII. Multithreading Interview Questions
1. What is a Thread ? What is a Runnable object (object which implements java.land.Runnable) in Java ?
2. Can Java be run on multi processor computer ?
3. What are the advantages of using Threads ?
IX. GUI Interview Questions
1. What is the difference between Abstract Widget Toolkit (AWT) and Swing ?
2. List some other GUI libraries for Java ?
3. Can one use Swing in Java Applets ?
X. I/O Interview Questions
1. Explain Serialization mechanism ?
2. What is the difference between InputStream and BufferedInputStream ?
3. Can one create in Java an email server ?
4. List 3 types of Stream that can be used to send/receive data ?
JAVA EE Interview Questions
I. Servlets Interview Questions
1. What is a Servlet ?
2. What are the differences between Servlet and JSP page ?
3. Can one send forms to Servlet using http POST ?
II. JSP, JSTL
1. What is a JSP ?
2. What is Jsp Tag Library ?
3. Can one write its own Tag Library ?
4. What is a Scriptlet ?
5. What is a Expression Language ?
III. JSF Interview Questions
1. What is a JSF ?
2. What is different in JSF compared to JSP ?
3. Can JSF be used with standard web browsers ?.
4. What are JSF components ?
IV. EJB Interview Questions
1. What is the difference between EJB and JavaBeans ?
2. What is the difference between EJB 2.x and 3.0 ?
3. List kinds of EJB that can be used and give short description of each
4. What is EJB QL and where can be used ?
5. What is the difference between EJB and Web Services ?
6. What is SOAP ? Why does it use XML ?
V. JNDI Interview Questions
1. What is JNDI ?
2. What are the advantages of using JNDI in applications ?
3. What is InitialContext ?
No comments:
Post a Comment