Home > java
Legacy Collection Framework

Legacy Collection Framework in java

Legacy Collection Framework is Renamed form of existing data structure of JAVA collection framework. What is the difference between New collection framework and Legacy collection frameworkLagecy collection framework classes and interfaces are recommended to use in JSE application(standalone application,GUI application and two tier application) and and not recommended to use in new

Read More
Multithreading in Java

Multithreading in Java

Multithreading in Java is a really important topic. Today we are going to discuss complete multithreading with the help of some example which is described the flow of multithreading. The basic aim of Multithreading is to develop concurrent execution based on application. (Simultaneous/parallel execution of multiple logic represented in the method

Read More
HashMap in java example

HashMap in java example

HashMap in java exampleHashMap class in java is implements on the Map interface by using Hashtable. It implements Map interface and inherits AbstractMap class.The important feature of HashMap class are:HashMap contains value based on key. It contains only unique elements as key and value pair. It may contains one

Read More
HashSet in java example

HashSet in java example

Java HashSet class is used to create a collection that uses a hash table for storage. It implements Set interface and inherits the AbstractSet class.The important points about Java HashSet class are:1) HashSet stores the values by using the hashing mechanism.2) HashSet contains an only unique value. Difference between List and

Read More
Spring Framework in java

Spring framework in java

Spring framework in javaSpring framework is an application framework, which used to develop various types of java, J2EE application. Spring framework is open source, lightweight, loosely coupled, aspect-oriented and dependency injection based java application framework.open source: It is not only free software but its source code is also exposed to the

Read More
Lambda Expressions in Java

Lambda Expressions in Java with Example

Lambda Expressions in Java with ExampleLambda expression basically express instances of functional interfaces. An interface which contains only one abstract method, is called functional interface.  java.lang.Runnable is functional interface. Lambda expressions is the main feature of Java 8.Why use Lambda Expression:To provide the implementations of Functional interface. Less coding

Read More
Treeset in java with Example

Treeset in java with Example

TreeSet in java, its object organize data in main memory by following binary tree concept. TreeSet class object always displays the data in sorted order. Access and retrieval times are too fast as compare to HashSet. Methods of TreeSet classTreeSet implements SortedSet so it has availability of all methods in Collection, Set, and SortedSet interfaces.Hierarchy

Read More
Collection Framework classes and interfaces in java

Collection Framework in java

Collection framework is one of the additional service developed by Sun Microsystem developer supply is a part of Java software for enhancing the performance of Java application.Collection Framework A Collection Framework is one of the standardized mechanism of Java and its allow us to store a similar type of values or

Read More