Classes Flashcards
1
Q
anything outside of the class
A
public
2
Q
can only be used within the class
A
private
3
Q
not used this at this time
A
protected
4
Q
What is the naming convention for variables?
A
Variables start with a first letter.
5
Q
What is the naming convention for classes?
A
Classes start with a capital first letter.
6
Q
What is the naming convention for methods?
A
Methods start with a lower case first letter.
7
Q
What is the difference in visibility of classes?
A
public: anything outside of the class.
private: can only be used within the class.
projected: not used at this time.
8
Q
A