What class must an inner class?

It must extend the enclosing class . Explanation: Option B is correct because a static nested class is not tied to an instance of the enclosing class, and thus can’t access the nonstatic members of the class (just as a static method can’t access nonstatic members of a class).

Sizin İçin Seçtik  Can we use node JS for frontend and backend?

Leave a Reply

Your email address will not be published. Required fields are marked *