What is an interface? - A class that implements an interface is compelled to implement all the methods that have been declared in the interface...
|
Multiple inheritances - Java does not support multiple inheritances. However, interfaces can be used in place of multiple inheritances...
|
Purpose of ‘instanceof’ keyword - The instanceof keyword is used to check the type of an instance of an object...
|
What is cloning? - If you create an object on the heap and assign the object to another object, then the compiler does not create another object...
|
What are packages in java? - A package is a grouping of related types providing access protection and name space management...
|
Access levels for classes and interfaces...
|
What is the List interface? - The List interface provides an ordered collection. Elements in the List can be accessed using integer indexes...
|
What is an Iterator interface? - An iterator acts over a collection like an Enumeration. However, Iterators differ from enumerations in two ways:...
|
What is the Map interface? - A Map maps keys to values. It cannot contain duplicate keys. The three general-purpose Map implementations are:..
|
What is the Collection interface? - A collection represents a group of objects, known as its elements. It is an interface and is a member of the Java Collections Framework...
|
What is the Locale class? - A Locale object represents a specific geographical, political, or cultural region...
|