GoConqr has a new look! Let us know what you think.

Quiz

Untitled

Mccaffrey Christi 9 questions

Take the quiz

Questions in this quiz (9)

  1. 1For a Property Name of class Person, which of these is the correct way to set the value
    1. APerson.Name = "Jon";
    2. BPerson.Name("Jon");
    3. CPerson.setName("Jon");
    4. DPerson.Name.set = "Jon";
  2. 2Class Properties replace getters and setters
    1. ATrue
    2. BFalse
  3. 3Properties must be invoked with parentheses: Person.Name()
    1. ATrue
    2. BFalse
  4. 4For a property Name of class Person, which is the correct way to get the value?
    1. Avalue = Person.Name;
    2. Bvalue = Person.Name();
    3. Cvalue = Person.getName();
    4. Dvalue = Person.Name.get();
  5. 5The Math class is a static class?
    1. ATrue
    2. BFalse
  6. 6Static class members can only be in Static classes?
    1. ATrue
    2. BFalse
  7. 7All members of a static class are also static
    1. ATrue
    2. BFalse
  8. 8A static class can be instantiated
    1. ATrue
    2. BFalse
  9. 9Abstract methods
    1. Amust be implemented in concrete derived classes
    2. Bcontain the implementation used by derived classes
    3. Ccan only exist in abstract classes
    4. Dcannot be overridden by derived classes

Information

Description
Quiz on Untitled, created by Mccaffrey Christi on 17/05/2019.
Language
English
Views
0
Rating
No ratings yet
Rate this quiz
Rate this quiz

Feedback

What is it about?

What do you think of the new look?

How do you like it?