Examveda
Examveda

In Java, which access modifier allows a class member to be accessed from anywhere in the code?

A. public

B. protected

C. private

D. package-private

Answer: Option A


This Question Belongs to Java Program >> Declaration And Access Control

Join The Discussion

Related Questions on Declaration and Access Control