Blog

Insights, tutorials, and thoughts on web development and technology.

Abstract Class in Java

Abstract Class in Java

Abstract Class in Java provides a mechanism by which we can just define the definition of the method in class and not implement it. Any Class that extends the Abstract class has to implement the abstr...

Jun 24, 2017 · Tushar
Use of Super Keyword in Java.

Use of Super Keyword in Java.

As we have seen in the previous tutorial that member variables and methods of SuperClass can only be accessed in subClass if they are declared as public. There are multiple uses of super keyword in Ja...

Jun 20, 2017 · Tushar
Inheritance in Java

Inheritance in Java

Inheritance is one of the most important features of Java. With Inheritance you can extend the features defined in one class into another Class. Thus promoting code reusability. The Class which one ex...

Jun 20, 2017 · Tushar
Object Class in Java

Object Class in Java

The Object Class is one special class in Java. All the other classes are subclasses of Object class. That means Object is superclass of all other classes. Object Class defined the following methods....

Jun 19, 2017 · Tushar
Nested and Inner Class in Java.

Nested and Inner Class in Java.

With Java you can write a Class that is enclosed within another Class. These are called Nested Class. ONe Usually goes for Nested Class when the New Class which you are creating is very closely Associ...

Jun 16, 2017 · Tushar
Java Enums

Java Enums

A Java Enum is a special Class that is used to defined a collection of constants. An Enum can contain constant, methods, etc. It was added in Java 5. Enum Example Consider a simple example to unders...

Jun 14, 2017 · Tushar
Interface in Java

Interface in Java

Interface in Java defines a IS-A relationship between classes and a mechanism to achieve abstraction. An Interface only consist of method definition and not the method body.   Benefits of U...

Jun 14, 2017 · Tushar