MCQ Single Best Answer Easy

QJava allows you to control access to classes, methods, and fields via specifiers.

ID: #22937 TCS Core Java Questions 122 views
Question Info
#22937Q ID
EasyDifficulty
TCS Core Java QuestionsTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A control
  • B java
  • C access
  • D standard
Correct Answer: Option C

Explanation

The correct option is:

access

Java uses access specifiers (also known as access modifiers) to control the visibility of classes, methods, and fields. These include public, private, protected, and the default (package-private) access level.

Share This Question

Challenge a friend or share with your study group.