• 1. 
    Hibernate is a ______________ that simplifies the development of Java application to interact with the database.

  • Java sector
  • Java connectivity
  • Java virtual machine
  • Java framework
  • 2. 
    ServletContext object can be used to get configuration information from ------------------ file

  • web.inf
  • web.xml
  • servlet file
  • 3. 
    Use the following declaration and initialization to evaluate the Java expressions int a = 2, b = 3, c = 4, d = 5; float k = 4.3f; System.out.println (c=c++);

  • 2
  • 4
  • 5
  • 8
  • 4. 
    The operator who also acts as a string concatenation _______

  • a) /
  • b) *
  • c) +
  • d) –
  • 5. 
    The general form of constructing an array is _______

  • Datatype arr-name [];
  • Datatype []arr-name;
  • arr-name= new datatype[noOfElements];
  • arr-name.length
  • 6. 
    Which of the following is wrapper class in java

  • Float
  • Integer
  • Double
  • all of above
  • 7. 
    Which of this class is used by character streams for reading data from buffer

  • BufferReader
  • InputStreamReader
  • FileReader
  • FileInputStream
  • 8. 
    These objects hold data retrieved from a database after you execute an SQL query

  • Statement
  • DataSet
  • Connection
  • ResultSet
  • 9. 
    _________________ methods cannot be over ridden

  • abstract
  • final
  • constant
  • None
  • 10. 
    String txt = "Hello World";System.out.println(txt.toUpperCase());Choose the correct output.

  • "HELLO WORLD"
  • HELLO WORLD
  • Hello world
  • Hello World
  • 11. 
    If I ... your tools, I wouldn't have been able to fix the car.

  • don't have
  • didn't have
  • had had
  • had not had
  • 12. 
    If you ... in London by any chance, come and see me.

  • will be
  • would be
  • happen to be
  • happen to go
  • 13. 
    Java is divided into two parts _______________.

  • Java Compiler and Java Virtual Machine (JVM)
  • Java Development Kit (JDK) and Java Runtime Environment (JRE)
  • Core Java (J2SE) and Advanced Java (JEE)
  • JRE and Java Virtual Machine
  • 14. 
    Multithreading concept can be divided into _________

  • Class
  • Processes
  • Method
  • Object
Report Question
warning
access_time
  Time