MCQOPTIONS
Bookmark
Saved Bookmarks
→
Object Oriented Programming
→
Inbuilt Classes in Object Oriented Programming
→
How many public class(s) (outermost) can be there..
1.
How many public class(s) (outermost) can be there in a java program?
A.
1
B.
2
C.
3
D.
As required
Answer» B. 2
Show Answer
Discussion
No Comment Found
Post Comment
Related MCQs
Which specifier allows to secure the public members of base class in inherited classes?
In multi-level inheritance(all public), the public members of parent/superclass will ________
If a class doesn’t have public members, then________
Which among the following is true for public class?
Which specifier can be used to inherit protected members as protected in subclass but public as public in subclass?
A class has its default constructor defined as public. Class B inherits class A privately. The class ___________
Which among the following for public specifier is false?
How many public class(s) (outermost) can be there in a java program?
If members of a super class are public, then________
We can reduce the visibility of inherited methods.
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply