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. Converting a primitive type data into its corresponding wrapper class object instance is called

  • boxing
  • wrapping
  • instantiation
  • autoboxing

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

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

3. pow () is associated with which class

  • Math class
  • Input stream class
  • Object class
  • None of above

4. Which class cannot be subclassed (or extended) in java?

  • abstract class
  • parent class
  • Final class
  • None of above

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

  • False
  • True
Read more from - Java Objective Questions Answers -Chapter 1
Post a comment