Java – Abstraction
As per dictionary, abstraction is the quality of dealing with ideas rather than events. For example, when you consider the case of…
Discover thoughtful articles, guides and ideas about this topic.
← Explore all topicsAs per dictionary, abstraction is the quality of dealing with ideas rather than events. For example, when you consider the case of…
Polymorphism is the ability of an object to take on many forms. The most common use of polymorphism in OOP…
In the previous chapter, we talked about superclasses and subclasses. If a class inherits a method from its superclass, then…
Inheritance can be defined as the process where one class acquires the properties (methods and fields) of another. With the…
In this chapter, we will discuss inner classes of Java. Nested Classes In Java, just like methods, variables of a…
An exception (or exceptional event) is a problem that arises during the execution of a program. When an Exception occurs the normal…
The java.io package contains nearly every class you might ever need to perform input and output (I/O) in Java. All…
A Java method is a collection of statements that are grouped together to perform an operation. When you call the…
Java provides the Date class available in java.util package, this class encapsulates the current date and time. The Date class supports two constructors as…
Java provides a data structure, the array, which stores a fixed-size sequential collection of elements of the same type. An array…
Strings, which are widely used in Java programming, are a sequence of characters. In Java programming language, strings are treated…
Normally, when we work with characters, we use primitive data types char. Example char ch = ‘a’; // Unicode for uppercase Greek omega…