answersLogoWhite

0

set :-

set have only values,and it dont allows duplicate values.set allows original values.

map:-

map have keys and values.if we know keys,and autometically knows to values.

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

Is there any difference between java and j2SE?

Core Java and J2SE are the same thing, which is the set of classes to be found in the rt.jar package. The classes were just given different names at different stages of the continued revisions to the Java Runtime Environment.


What is the on-screen difference between JTextField and JTextArea in java?

JTextField is a one-line text box, while JTextArea can be set to span multiple lines of input.


What is difference between jvmjre and jdk?

JVM Stands for Java Virtual Machine. JVM is the virtual machine in which a java program gets executed. JRE stands for Java Runtime Environment. JRE is the runtime set up that is required by the JVM to execute java programs. JDK stands for Java Development Kit. JDK is the basic software that gets downloaded from sun's java website if anyone wants to use java.


What is a MAP in JAVA?

A map is a data structure that has a key set that "maps" onto a data set. Thus, the keys can be used to access the data. It is really similar to tables in real life with one column as the keys and one column as the data.


Define set in java?

A Java set is a collection of things that do not contain duplicate elements. Duplicates are prohibited from Java sets.


What is a difference between a collection and a set?

None. A set is a collection and a collection is a set.


What is the difference between two sets in Python?

In Python, the difference between two sets is the elements that are present in one set but not in the other set.


What is the difference between an algorithm and java code?

In Java programming language, an algorithm refers to a sequence of instructions that have been specified to undertake a particular task within a certain time. An algorithm can take no or several inputs but will generate at least one output.


What is the difference between a system of numerals and a set of numbers?

there is a huge difference. :)


What is the difference between the greatest and least numbers in the set of data is called?

The difference between the greatest and least numbers in a set of data is called the range.


Difference between list and set in java?

A List is an ordered collection of elements. A Set is a collection of unique elements. Sets should be used when you want to store objects without duplicates. Lists should be used any time you need to store an unknown number of objects.


What is the difference between the greatest and least numbers in a set of data?

The difference between the largest and smallest numbers in a data set is called the range.