Vidyalelo
Java Programming · Q102

Miscellaneous Java

Programming · Java Programming · question 102

Q102

All the variables of class should be ideally declared as?

A.
private
Answer
B.
public
C.
protected
D.
default

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board