#java
Read more stories on Hashnode
Articles with this tag
Suppose there is a map with values : {a=5 , z=6 , b=12} and you want to sort based on its values as {b=12 , z=6 , a=5} (descending order) Now if we...
In order to run a java file using NodeJS we can use inbuilt child-process NodeJS module. In child-process module a separate thread is created as child...
A HashMap is a class in java which implements Map Interface that gives you a feature to store key-value pair. HashMap uses a hashing algorithm in...