Collections in Java

Collections in Java
Collections in JavaThe Collection in Java is a framework that provides an architecture to store and manipulate the group of objects.Java Collections can achieve all the operations that you perform on ...
0 Read More

Java Comparable

Java Comparable
Comparable: It is used to define the natural ordering of the objects within the class.--->method..compareTo()Comparator:(TBD) It is used to define custom sorting logic externally.method..compare() ...
0 Read More

Set in Java

Set in JavaIn Java, the set is an interface that belongs to java.util package. The Set interface extends the Collection interface. An unordered collection or list in which duplicates are not allowed i...
0 Read More

Map Interface

Map InterfaceThe map interface in Java is a structure that holds a set of key-value pairs where each key is unique and points to one value only. It is a component of the java.util package and is being...
0 Read More

treeset in java

⛶package framework; import java.util.TreeSet; public class treeset { public static void main(String[] args) { String name = "amalareegan"; TreeSet hs = new TreeSet(); ...
0 Read More

HashMap in java

Java HashMap Example import java.util.*; public class HashMapExample1{ public static void main(String args[]){ HashMap map=new HashMap();//Creating HashMap. map.put(1,"Mango"); //Put elements in Ma...
0 Read More

Spring Boot,Annotation

1.what is Spring Boot? Spring Boot is a framework built on top of Spring Framework that simplifies the development of Java-based web applications and microservices. It eliminates the need for complex ...
0 Read More

mvc architecture

mvc architecture
MVC Architecture (Model-View-Controller)MVC (Model-View-Controller) is a software architectural pattern commonly used in web and application development. It separates concerns into three interconnecte...
0 Read More

Spring boot-java-project_calc

Spring boot-java-project_calc
Using Html1) File --> New --> Spring Starter Project 2) Name --> Calculator 3) Select Maven as Type 4) Click Next 5) Add Dependencies: DevTools, Web, Thymeleaf 6) Click Next, Finish 7) Go ...
0 Read More