Courses
Tutorials
Practice
Data Structure
Java
Python
HTML
Interview Preparation
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
SQL
Web Development
System Design
Aptitude
GfG Premium
Similar Topics
Web Technologies
37.4K+ articles
DSA
22.8K+ articles
Python
21.3K+ articles
Experiences
16.6K+ articles
Interview Experiences
14.1K+ articles
Java
10.8K+ articles
Misc
8.8K+ articles
Java-Functions
4.2K+ articles
Java - util package
1.6K+ articles
Java-Collections
1.1K+ articles
Java-Dictionary
6 posts
Recent Articles
Popular Articles
Differences between Array and Dictionary Data Structure
Last Updated: 08 May 2023
Arrays:The array is a collection of the same type of elements at contiguous memory locations under the same name.It is easier to access the element in the case of an array...
read more
Arrays
Data Structures
Difference Between
Picked
Java-Dictionary
DSA
Dictionary keys() Method in Java with Examples
Last Updated: 27 December 2018
The keys() method of Dictionary class in Java is used to get the enumeration of the keys present in the dictionary.Syntax:Enumeration enu = DICTIONARY.keys()Parameters: Th...
read more
Java
Java-Collections
Java - util package
Java-Functions
Java-Dictionary
Dictionary put() Method in Java with Examples
Last Updated: 27 December 2018
The put() method of Dictionary is used to insert a mapping into the dictionary. This means a specific key along with the value can be mapped into a particular dictionary.S...
read more
Java
Java-Collections
Java - util package
Java-Functions
Java-Dictionary
Dictionary get() Method in Java with Examples
Last Updated: 27 December 2018
The get() method of Dictionary class is used to retrieve or fetch the value mapped by a particular key mentioned in the parameter. It returns NULL when the dictionary cont...
read more
Java
Java-Collections
Java - util package
Java-Functions
Java-Dictionary
Dictionary size() Method in Java with Examples
Last Updated: 27 December 2018
The size() Method of Dictionary class in Java is used to know the size of the dictionary or the number of distinct keys present in the dictionary.Syntax:DICTIONARY.size()P...
read more
Java
Java-Collections
Java - util package
Java-Functions
Java-Dictionary
Java Dictionary Class
Last Updated: 17 December 2024
Dictionary class in Java is an abstract class that represents a collection of key-value pairs, where keys are unique and used to access the values. It was part of the Java...
read more
Java
Java - util package
Java-Dictionary
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !