You are not logged in.

#1 2015-06-10 10:47:40

husnain
User RankUser RankUser RankUser RankUser RankUser Rank
Administrator
From: Chichawatni,Pakistan
Registered: 2014-10-03
Posts: 8,129
Website

Static Inner Class:

Question:
Which statement about static inner class is true?

Option A):
A static inner class does not require an instance of the enclosing class.
Option B):
Its variables and methods must be static.
Option C):
A static inner class cannot be a static member of outer class.
Option D):
It must extend enclosing class.

Correct Answer is Option A):
A static inner class does not require an instance of the enclosing class.


You cannot discover the new oceans unless you have the courage to lose the sight of the shore.

2015-06-10 10:47:40

Advertisement
Ads By Google

Re: Static Inner Class:



\n

Board footer