Home »
MCQs »
Java MCQs
Which statement is correct for private member in Java?
65. Which statement is correct for private member in Java?
- Access outside the class is allowed
- Any class can access
- Declared using private keyword
- All of these
Answer: C) Declared using private keyword
Explanation:
The private members are declared using the private keyword.