Multiple Choice
Which of the following should usually be private?
A) Methods.
B) Constructors.
C) Variables (or fields) .
D) All of the above.
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q7: A constructor cannot:<br>A)be overloaded.<br>B)initialize variables to their
Q14: What happens when this is used in
Q22: Which syntax imports all static members of
Q22: Which of the following is false?<br>A) Method
Q24: When implementing a method,use the class's set
Q24: A package is:<br>A)A directory structure used to
Q26: Composition is sometimes referred to as a(n)_.<br>A)is-a
Q27: Which statement is false?<br>A)An enum declaration is
Q29: The static method _ of class String
Q31: Which of the following statements is true?<br>A)Methods