Java Classes Question:

What is enumeration?

Answer:

public interface Enumeration . An object that implements the Enumeration interface generates a series of elements, one at a time. Successive calls to the nextElement method return successive elements of the series.

Read All 76 Java Classes Questions
Previous QuestionNext Question
It is possible to define a class within another class; such classes are known as ____________

A) Nested Classes
Explain when we are overloading or overriding the methods how we want to take care about the acess specifiers?