Featured
-
How to split a String
Below I have written a code to split a string.
by shahbaz.ahmmod -
Send Push Notification with Custom Data to iPhone device from Java Server Side
This blog will help you to send Push Notifications
by babita.dhami -
Tomcat and Eclipse Integration Error : “Unknown version of Tomcat was specified”
If you are adding Server in Eclipse for Tomcat, an
by chandan.ahluwalia -
Spring MVC and MongoDB
Repository Class Using MongoDB : Spring has th
by sumit.vyas -
How to create DLL file from java?
Hello Guy's This Blog will guide how to create D
by bhagwan.khichar
Tags
Session tracking in servlets by using HttpSession
HttpSession Interface
It is one of the session tracking techniques.
It basically creates a session for each user and is used to maintain the request data and time interval of a particular. A user may give more than one requests at a particul...
Abstraction in java
Abstraction is defined as the hiding of backend content/details and only providing necessary information.
There are two ways to achieve abstraction:-
Abstract class
Interface
ABSTRACT CLASS:- The class which is declared as abstract is known...
Interface vs Abstract Class
Interface
Interface can extend many interface.
Interface can extend from a interface only.
Interface have only abstract method by default.
Interface can have public method only it it.
Abstract
Abstract can attend only on class at a time.
...
Interface
Interface is the way to get the multiple inheritance.
This means that a class can inherit two or more class.
As java, we can not extend more than one class but we can extend more than one interface.
So Interface is used to have inheritance
Bu...
Enumeration Interface in Java
Enumeration is used to retrieve or traverse all the elements of particular collection of objects. Its not considered for collections but we can use it for legacy like Vectors. To use it we need to import - Java.util.Enumeration
Below is the ...