Java67
How to use lsof command in Linux? Example Tutorial
›
Hello guys, If you want to learn how to use lsof command in Linux then you have come to the right place. In the last few article, I talk abo...
How to Synchronize HashMap in Java? Collections.synchronizedMap() Example Tutorial
›
Hello guys, if you have used HashMap class in Java before than you will know that HashMap is not synchronized, which means you cannot use it...
3 comments:
Difference between WeakHashMap , IdentityHashMap, and EnumMap in Java?
›
Hello guys, if you are wondering what is the difference between WeakHashMap, IdentityHashMap, and EnumMap in Java then you are at the right...
2 comments:
Java HashMap keySet() , entrySet and values() Example - Tutorial
›
The java.util.Map interface provides three methods keySet() , entrySet() and values() to retrieve all keys, entries (a key-value pair), ...
4 comments:
What is static and instance Method in Java? Example Tutorial
›
Hello guys, if you have trouble understanding what is static method in Java and how to use it then you are at the right place. In this artic...
4 comments:
How to use Lambda Expression and method reference in Java? Example Tutorial
›
Hello guys, if you are wondering what is lambda expression and method reference in Java then you are at the right place. Earlier, I have sha...
3 comments:
Composite Design Pattern Example in Java and Object Oriented Programming
›
Hello guys, if you are wondering how to use Composite design pattern in Java then you are at the right place. Composite design pattern ...
6 Advanced Comparator and Comparable Examples in Java 8
›
The JDK 8 release has completely changed the way you compare objects and sort them in Java. The new features of the Java 8 language e.g. la...
5 comments:
How to convert String to long in Java? Example
›
You can parse a String literal containing valid long value into a long primitive type using parseLong() and valueOf() method of java.lang...
4 comments:
How to convert String to Double in Java and double to String with Example
›
There are three ways to convert a String to double value in Java, Double.parseDouble() method, Double.valueOf() method and by using new D...
4 comments:
How to check if two String variables are same in Java? equals(), equalsIgnoreCase() and == operator Example
›
There are multiple ways to compare two strings alphabetically in Java e.g. == operator, equals() method or compareTo() method, but whic...
1 comment:
How to Read User Input and Password in Java from command line? Console Example
›
Hello guys, if you are wondering how to take user input from command prompt in Java like username and password then don't worry. Java pr...
5 comments:
How to replace characters and substring in Java? String.replace(), replaceAll() and replaceFirst() Example
›
One of the common programming tasks is to replace characters or substring from a String object in Java. For example, you have a String ...
4 comments:
5 Difference between Hashtable vs HashMap in Java? Answer
›
Hashtable vs HashMap in Java Hashtable and HashMap are two hash-based collections in Java and are used to store objects as key-value pairs...
28 comments:
How to write a Parameterized Method in Java using Generics? Example
›
Hello guys, if you are wondering how to write a parameterized method in Java using Generics then you are at right place. Earlier, I have sh...
10 Examples of nslookup command in Linux and Windows
›
Hello guys, if you are wondering what is nslookup command and how to use in Linux and Windows then you are at right place. In the past, I ha...
Difference between Polymorphism vs Inheritance in Java and Object Oriented Programming - Example
›
Programmers often confused among different object-oriented concepts e.g. between Composition and Inheritance, between abstraction and encap...
3 comments:
How to convert ArrayList to Comma Separated or Delimited String in Java - Spring Example
›
Some time we need to convert ArrayList to String in Java programming language in order to pass that String to stored procedure, any metho...
10 Examples of head and tail command in Linux
›
Hello guys, if you are wondering how to use head and tail command in Linux then you have come to the right place. Both head and command are ...
Difference between JDK and JRE in Java Platform
›
Java Platform offers JRE and JDK to run Java programs. JRE stands for Java runtime environment and JDK stands for Java development kit. JR...
2 comments:
‹
›
Home
View web version