Saturday, February 16, 2008

Java Programming Interview Questions

  • Can you load server object dynamically? If so what are 3 major steps involved in it?
  • Can you run product development on all operating systems?
  • Considering notepad/IE or any other thing as process, What will happen if you start notepad or IE 3 times ? Where three processes are started or three threads are started?
  • Difference : AWT and Swing?
  • Difference : Abstract class and Interface?
  • Difference : Grid and Gridbaglayout?
  • Difference : Process and Thread?
  • Difference : java and c++?
  • Difference : process and threads?
  • Does java support function overloading, pointers, structures, unions or linked lists?
  • Does java support multiple inheritance? if not, what is solution?
  • Explain 2-tier and 3-tier architecture?
  • Explain about version control?
  • Have you ever used HashTable and Directory?
  • How can two threads be made to communicate with each other?
  • How can we do validation of fields in project?
  • How can you know about drivers and database information ?
  • How do you download stubs from Remote place?
  • How does thread synchronization occur in monitor?
  • How java can be connected to database?
  • How will you add panel to frame?
  • I want to store more than objects in remote server? Which methodology will follow?
  • In container there are 5 components. I want to display all component names, how will you do that?
  • In htm form I have button which makes us to open another page in seconds. How will you do that?
  • In htm page form I have one button which makes us to open new page in seconds. How will you do that?
  • Is there any tag in htm to upload and download files?
  • Meaning of Servelet? What are parameters of service method?
  • Meaning of Session? Explain something about HTTP Session Class?
  • Meaning of Static query and Dynamic query?
  • Meaning of class loader? How many types are there? When will we use them?
  • Meaning of cookies? Explain main features?
  • Meaning of distributed application? Why are we using that in our application?
  • Meaning of flickering?
  • Meaning of function overloading and function overriding?
  • Suppose if we have variable ‘I’ in run method, if I can create one or more thread each thread will occupy separate copy or same variable will be shared?
  • Tell some latest versions in JAVA related areas?
  • What are JVM.JRE, J2EE, JNI?
  • What are Normalization Rules? Define Normalization?
  • What are abstract classes?
  • What are adapter classes?
  • What are advantages of java over C++?
  • What are benefits if Swing over AWT?
  • What are byte codes?
  • What are files generated after using IDL to java compiler?
  • What are session variable in servlets?
  • What are statements in Java?
  • What are streams?
  • What are swing components?
  • What are traverses in binary tree?
  • What are virtual functions?
  • What do you know about garbage collector?
  • What do you mean by light weight and heavy weight components?
  • What do you mean by multithreading?
  • What is JAR file?
  • What is JFC?
  • What is JNI?
  • What is base class for all swing components?
  • What is client server computing?
  • What is constructor and virtual function? Can we call virtual function in constructor?
  • What is corresponding layout for card in swing?
  • What is difference abstract class and interface?
  • What is exact difference in between Unicast and Multicast object? Where will it be used?
  • What is functionability stubs and skeletons?
  • What is functionality of stub?
  • What is interface?
  • What is layout for toolbar?
  • What is light weight component?
  • What is main functionality of Prepared Statement?
  • What is main functionality of remote reference layer?
  • What is mapping mechanism used by java to identify IDL language?
  • What is middleware? What is functionality of web server?
  • What is polymorphism?
  • What is protocol used by server and client?
  • What is role of Web Server?
  • What is root class for all java classes?
  • What is serializable interface?
  • What is serialization?
  • What is thread?
  • What is update method called?
  • What is use of interface?
  • What is user defined exception?
  • When will you use interface and abstract class?
  • Where are card layouts used?
  • Why do we use oops concepts? What is its advantage?
  • Why do you canvas?
  • Why does java not support multiple inheritance?
  • Why is java not fully objective oriented?
  • Why is java not pure oops?
  • Why java is considered as platform independent?
  • Why there are some null interface in JAVA? What does it mean? Give some null interface in JAVA?
  • Write down how will you create Binary tree?
  • Write program for recursive traverse?
  • what is meant wrapper classes?
Source: http://www.sharpprogrammer.com/interview-questions/java-programming-interview-questions/

No comments: