Examveda
Examveda

What is the default access modifier for class members in Java if no access modifier is specified?

A. public

B. protected

C. private

D. package-private

Answer: Option D


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

Join The Discussion

Related Questions on Declaration and Access Control