Study

Elementary Concept of Object and Class (Grade 9)

  •   0%
  •  0     0     0

  • Class is a _____________ define datatype.
    user
  • ___________ is the other name of data members.
    attribute,characteristics
  • The class is a _____________________ for the objects.
    Blueprint /Template
  • Write a Java statement to create an object S1 for a class Student.
    Student S1 = new Student();
  • ______________ is an example of non-primitive datatype.
    Class
  • The object is also known as ___________ of a class
    instance
  • The __________________ can be refer as object factory.
    Class
  • Can a class have more than one object? (Yes/No)
    Yes
  • True or False: An object is a blueprint of a class.
    False
  • The ____________ is a real entity having characteristics and behaviour.
    Object
  • ____________ keyword is used foe dynamic memory allocation.
  • How many objects can be created from a class?
    As many as you want, Infinite
  • _____________ is example of primitive data type
    String, int, double,
  • Write a Java statement to create an object p1 for a class parking
    parking p1 = new parking ()
  • The process of creating an object is known as _______________
    instantiation.