Accessing the Data in MAP Data Structure | Applications of Maps in Java | Java Beginners Tutorial

  Рет қаралды 35,166

ABC - Technology Training & Upskilling

ABC - Technology Training & Upskilling

Күн бұрын

Пікірлер: 16
@ABCforTechnologyTraining
@ABCforTechnologyTraining 5 жыл бұрын
Learn from Leaders, Learn from ABC. Watch our latest technical videos in your language: For Hindi:- bit.ly/2TRuGVP For Kannada:- bit.ly/31NH63M For Telugu:- bit.ly/2MuYRRP For Tamil:- bit.ly/2Num5Hz
@rishavkumar7965
@rishavkumar7965 2 жыл бұрын
Now, this is the real definition of Marvellous. Totally Excellent.
@abhijeetgupta2754
@abhijeetgupta2754 5 жыл бұрын
Very awesome lectures. But sir there is one suggestion, please provide time complexity analysis also after each program.
@anushka3287
@anushka3287 5 жыл бұрын
nice explanation, and animation
@Ankit-mq6em
@Ankit-mq6em 5 жыл бұрын
Kya English hai gajabb
@saurabhsingh7032
@saurabhsingh7032 5 жыл бұрын
Set
@ashrafulalan6440
@ashrafulalan6440 5 жыл бұрын
use import java.util.HashMap; above the program
@akhileshn7923
@akhileshn7923 5 жыл бұрын
entrySet will give you both keys and values keySet will give you only keys values will give you only values m.entrySet will access keys and value and its of type Set and hmap is reference you can also write above line like this Set hmap = m.entrySet()
@ADITYAworld-sc3sv
@ADITYAworld-sc3sv 5 жыл бұрын
I recommend you to make lecture video in hindi also
@anjalichopra1540
@anjalichopra1540 5 жыл бұрын
Sir in your previous vedio ..to get the value, map.get[y(i)] was used ..but in this you are using , data.getvalue() ...why?
@akhileshn7923
@akhileshn7923 5 жыл бұрын
here data is variable ..using variable name we can use getValue() method to access value in advance for loop
@ashwinilohar1169
@ashwinilohar1169 5 жыл бұрын
for( Map.Entry data: hmap) Can only iterate over an array or an instance of java.lang.Iterable : compile time error is showing. How to remove it
@ashrafulalan6440
@ashrafulalan6440 5 жыл бұрын
use import java.util.HashMap; above the program
@shivamsinha5554
@shivamsinha5554 2 жыл бұрын
After data:hmap.enterySet()
@vajjaramanjaneyulu7334
@vajjaramanjaneyulu7334 4 жыл бұрын
Supet
@akhileshn7923
@akhileshn7923 5 жыл бұрын
//we can also use iterator import java.util.HashMap; import java.util.Iterator; import java.util.Map; import java.util.Map.Entry; import java.util.Set; public class String1 { public static void main(String[] args) { String x = "ARADHYA"; char y[] = x.toCharArray(); int size = y.length; HashMap hm = new HashMap(); int i=0; while(i!=size) { if(hm.containsKey(y[i])==false) { hm.put(y[i],1); } else { int oldval = hm.get(y[i]); int newval = oldval+1; hm.put(y[i],newval); } ++i; } Set set = hm.entrySet(); Iterator itr = set.iterator(); while(itr.hasNext()) { Map.Entry me = (Entry) itr.next(); System.out.println("key is "+me.getKey()+".."+"value is"+me.getValue()); } } }
Different types of Maps in Java | MAP Data Structure in Java | Java Tutorials for Beginners | ABC
9:58
ABC - Technology Training & Upskilling
Рет қаралды 22 М.
Introduction to MAP Data Structure in Java | HashMap in Java with Example | ABC
12:40
ABC - Technology Training & Upskilling
Рет қаралды 44 М.
كم بصير عمركم عام ٢٠٢٥😍 #shorts #hasanandnour
00:27
hasan and nour shorts
Рет қаралды 9 МЛН
Long Nails 💅🏻 #shorts
00:50
Mr DegrEE
Рет қаралды 14 МЛН
Loops in Java | for | while | do-while | for-each loop in java | loops in java programming | ABC
13:56
ABC - Technology Training & Upskilling
Рет қаралды 24 М.
Learn JSON in 10 Minutes
12:00
Web Dev Simplified
Рет қаралды 3,2 МЛН
Vim Tips I Wish I Knew Earlier
23:00
Sebastian Daschner
Рет қаралды 78 М.
How to print duplicate characters present in a String using Maps in java | strings programs in java
8:51
ABC - Technology Training & Upskilling
Рет қаралды 24 М.
How to find the maximum occurring character in a String using Maps in java | strings programs | ABC
10:40
ABC - Technology Training & Upskilling
Рет қаралды 38 М.
JAVA DTO Pattern Tutorial | Simplify Your Code
19:12
Amigoscode
Рет қаралды 213 М.
How to convert lowercase Strings to uppercase in Java | Strings Programming  tutorials | Part 1
9:28
ABC - Technology Training & Upskilling
Рет қаралды 43 М.
The KEY To Thinking Like a Programmer (Fix This Or Keep Struggling)
10:39
Pangram Program in Java | Pangram Problem Solution | Interview Questions on Pangram | ABC
16:53
ABC - Technology Training & Upskilling
Рет қаралды 56 М.
Computing length of String in Java | Java Programs | Strings in Java | ABC
6:02
ABC - Technology Training & Upskilling
Рет қаралды 56 М.