Which of the following modifiers in the field is accessible from all classes?
Answers
Answered by
0
Answer:
53vsvggggfwvtswrggtrhtwghhewwgtwd
Answered by
0
public:
Explanation:
The public access modifier is specified using the keyword public.
The public access modifier has the widest scope among all other access modifiers.
It has Classes, methods, or data members that are declared as public are accessible from everywhere in the program.
The Access modifiers are keywords in object-oriented languages that set the accessibility of classes, methods, and other members.
When the class is declared as public, it is accessible to other classes defined in the same package as well as those defined in other packages.
Similar questions