Advertisements
Advertisements
प्रश्न
Which of the following is NOT an access specifier?
विकल्प
private
protected
package
public
MCQ
Advertisements
उत्तर
package
Explanation:
Java access specifiers (keywords) are private, protected and public. The term “package” is not a keyword access specifier; the default (package-private) access exists, but has no “package” keyword.
shaalaa.com
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
2025-2026 (March) Official Board Paper
