Java - Encapsulation
Which of the following is the correct syntax to declare a private integer variable named
age in a Java class?age in a Java class?15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions