Computer Science, asked by vikashnag1998, 9 months ago

What can be used to create the objects?
ऑब्जेक्ट को बनाने के लिए क्या उपयोग किया जा सकता है?
Select one:
O A. data item
डेटा आइटम
O B. class
class
O C. module
मॉड्यूल
O D. objects
ऑब्जेक्ट​

Answers

Answered by 11naveen2006
2

Answer:

Objects

Explanation:

Ethical Hacking Full Course

Answered by anjalin
0

B. class can be used to create the objects.

Explanation:

  • An object is an instance of a class.
  • A class is a template or blueprint from which is used to create objects.
  • Java mainly provides five different ways through which we can create an object, these are:
  • Using a new Keyword.
  • Using a clone() method.
  • Using a newInstance() method of the Class class.
  • Using a newInstance() method of the Constructor class.
  • Using Deserialization.
  • The values which are assigned by the constructor to the class members is used to create the object.
  • Hence, the correct answer among all the options is option B. class.

(SPJ2)

Similar questions