Show
Post your comments here:Name *: Email : (optional) » Your comments will be displayed only after manual approval.
Which modifier combination is legal for top level declaration?The only access modifier (other than friendly or package) that can be applied to a top-level class is public.
Which of the following modifiers can be applied to top level class?What modifiers may be used with a top-level class? public, abstract and final can be used for top-level class.
Which of the following is a valid top level class declaration?Which of the following is a valid top level class declaration? Explanation: Option E is the correct answer.
Which of these access modifiers can be used for a top level interface?There are only two use cases for class visibility at the top level (a) Visible everywhere (b) Visible only within the package. Hence only two modifiers ( public and default).
|