Advertisements
Advertisements
प्रश्न
What is public access of a class?
लघु उत्तर
उत्तर
A class designated public can be accessed by any other class. A public class's fields, methods, and blocks can be accessed from any other Java class. To access a public class from a separate package, it must be imported first.
shaalaa.com
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?