Monday, 29 August 2011

java interview questions

  • What is the difference between procedural and object-oriented programs?
  • what is java? or define java?
  • What is the difference between Assignment and Initialization?
  • What is an Iterator?
  • What is casting?
  • what is static method?
  • What is final, finalize() and finally?
  • what is final?
  • How many ways can an argument be passed to a subroutine and explain them?
  • what id the meaning of final in variable , method and class?
  •  
  • What is OOPs?What is an Object and how do you allocate memory to it?
  • What is the difference between constructor and method?
  • what is class?
  • What is the difference between this() and super()?
  • What is the difference between an argument and a parameter?
  • What is an abstract class?
  • what is encapsulation?
  • What is daemon thread and which method is used to create the daemon thread?
    • What is meant by pass by reference and pass by value in Java?
    • What is the difference between an Interface and an Abstract class?
    • What are wrapper classes?
      • what is polymorphism?
      • Explain the usage of Java packages.
      • What is difference between overloading and overriding?
      • What is the purpose of garbage collection in Java, and when is it used?
      • what is thread?
      • what is inheritance?
      • What is the difference between superclass and subclass?
      • what is interface?
      • What is JDBC?
      • What is the difference between JDBC and ODBC?
      • What are drivers available?
      • what is swing?
      • what is diff between swing and awt?
      • What are the types of statements in JDBC?
      • What are the steps involved for making a connection with a database or how do you connect to a database?

      No comments: