GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Quiz

1_Classes and Objects Quiz

ncmcoder 8 Fragen

Quiz starten

Fragen in diesem Quiz (8)

  1. 1An object is characterized by:
    1. AState and Validity
    2. BValidity and Accessibility
    3. CState and Behavior
    4. DBehavior and Accessibility
  2. 2A variable that represents an object is called
    1. AConjugate
    2. BAbstract
    3. CType
    4. DObject reference
  3. 3State of a given object is maintained in its
    1. AAlgorithms
    2. BInstance variables
    3. CEncapsulations
    4. DBehaviors
  4. 4Combining an object's data and methods into a class is called
    1. AEncapsulation
    2. BImplementation
    3. CInheritance
    4. DBoxing
  5. 5Public methods are accessible to:
    1. ASome client programs
    2. BAll client programs
    3. CAll client programs that asks for return value
    4. DAll client programs that are abstract
  6. 6Static variables are shared by:
    1. AAll instances of the class
    2. BAll instances of the class that are private
    3. CAll instances of the class that are public
    4. DSome instances of the class depending on what the static variable specifies.
  7. 7A constructor
    1. AMust have arguments
    2. BCannot be the same as the class
    3. CCreates and object of the class
    4. DHas a return type based on the class
  8. 8Static methods
    1. AMust have a return type
    2. BCannot access instance variables
    3. CCan access instance variables
    4. DMust not have a return type

Informationen

Beschreibung
Quiz on java classes and objects
Sprache
English
Aufrufe
6
Bewertung
Noch keine Bewertungen
Bewerte dieses Quiz
Bewerte dieses Quiz

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck