Quiz
Untitled
Create a free account to finish this quiz
Save your progress and see your final score.
Already have an account? Sign in
Questions in this quiz (9)
1For a Property Name of class Person, which of these is the correct way to set the value
- APerson.Name = "Jon";
- BPerson.Name("Jon");
- CPerson.setName("Jon");
- DPerson.Name.set = "Jon";
2Class Properties replace getters and setters
- ATrue
- BFalse
3Properties must be invoked with parentheses: Person.Name()
- ATrue
- BFalse
4For a property Name of class Person, which is the correct way to get the value?
- Avalue = Person.Name;
- Bvalue = Person.Name();
- Cvalue = Person.getName();
- Dvalue = Person.Name.get();
5The Math class is a static class?
- ATrue
- BFalse
6Static class members can only be in Static classes?
- ATrue
- BFalse
7All members of a static class are also static
- ATrue
- BFalse
8A static class can be instantiated
- ATrue
- BFalse
9Abstract methods
- Amust be implemented in concrete derived classes
- Bcontain the implementation used by derived classes
- Ccan only exist in abstract classes
- Dcannot be overridden by derived classes
Information
- Description
- Quiz on Untitled, created by Mccaffrey Christi on 17/05/2019.
- Author
- Mccaffrey Christi
- Language
- English
- Views
- 0
- Rating
- No ratings yet Rate this quiz