Inheritance Definition and Programs

Getting the properties from one class object to other class is known as inheritance. In this inheritance will have parent class and child class so getting the properties... read more ?

Encapsulation in java with example program

encapsulation2

What is meant by encapsulation in java? Binding the data with its related functionalities known as encapsulation Here data means variables and functionalities means methods. So keeping the... read more ?

Program Check even or odd without using modulus and division operators

evenorodd

Checking the number even or odd program is very easy. Anybody can solve this but there is a condition we need to see. When we get this question... read more ?

ObjectInputStream and ObjectOutputStream

ObjectInputStream and ObjectOutputStream classes are used to store objects state permanently in files or to send to remote computer via network. ObjectOutputStream class is subclass of ObjectOutput interface.... read more ?

DataInputStream and DataOutPutStream

These classes are used to read and write data as primitive type from the underlying InputStreams and Output Streams. DataInputStream and DataOutputStream classes have special methods to perform... read more ?

JSP Implicit Objects

jspimplicitobject

Implicit objects in jsp are the objects that are created by the container automatically and the container makes all these 9 implicit objects to the developer. We do... read more ?

Java 8 Interface Static and Default Methods

java8int

Java 8 introduced two new methods in interface they are1.default methods2.static methods By this interfaces and abstract class are same but still having lot differences like abstract class... read more ?

Select Menu