IT Questions and Answers :)

Monday, November 4, 2019

Which of the following is true about objects and/or classes in a database?

Which of the following is true about objects and/or classes in a database?

  • A class encapsulates only data
  • A class is an instance of an object
  • An object encapsulates only data
  • An object is an instance of a class 
Which of the following is true about objects and/or classes in a database?

EXPLANATION

An object is an instance of a class, and may be called a class instance or class object; instantiation is then also known as construction. Not all classes can be instantiated – abstract classes cannot be instantiated, while classes that can be instantiated are called concrete classes.

 

Share:

0 comments:

Post a Comment

Popular Posts