KnowledgeBoat Logo
|

Computer Applications

Refer a class structure as shown below:

class MySchool {
    Name
    Address
    Principal's name
    AcceptData();
    PrintData();
}

With reference to the above class declaration, indicate whether the following statements are True/False:

  1. Acceptdata( ) is the characteristic of the class.
  2. Address is behaviour of the class.
  3. Acceptdata( ) and PrintData( ) are the common behaviour for the objects of class 'MySchool'.
  4. Behaviours is the medium of inter-object communication.
  5. Creating multiple objects of the class 'MySchool' is not possible.

Objects & Classes

106 Likes

Answer

  1. False
  2. False
  3. True
  4. True
  5. False

Answered By

58 Likes


Related Questions