download Mastguru Android App

Question Detail

In which we clone the object and their constituent parts

  • Shallow cloning
  • Deep cloning
  • Both of above
  • None of above
Similar Questions :

1. Which metrhods are utilized to control the access to an object in multi threaded programming

  • Asynchronized methods
  • Synchronized methods
  • Serialized methods
  • None of above

2. In java, gc() method is available in which package

  • java.lang package
  • java.util package
  • java.awt package
  • java.io package

3. Which of the following command is used to compile the Java program

  • java
  • javac
  • javap
  • none of these

4. The inner class can access private members of the outer class

  • False
  • True

5. Which of the following below are valid isolation levels in J2EE

  • TRANSACTION_READ_UNCOMMITTED
  • TRANSACTION_SERIALIZABLE
  • Only A
  • Both A and B
Read more from - Java Objective Questions Answers -Chapter 1
Post a comment