Which Among The Following Is True For Public Class #252
Which among the following is true for public class?
This multiple choice question (MCQ) is related to the book/course gs gs111 OOP Object Oriented Programming Java. It can also be found in gs gs111 OOps Access Specifiers - OOPs MCQ: Public Access Specifier - Quiz No.2.
Which among the following is true for public class?
There can be more than one public class in a single program
Public class members can be used without using instance of class
Public class is available only within the package
Public classes can be accessed from any other class using instance