Java program to remove duplicate characters from a string Many times we need to remove the duplicate characters from a string in…
Java Tutorial
-
-
Java List sublist() Method The sublist() method of List Interface returns a view of the portion of this list between the inclusive…
-
Java ObjectInputStream readUTF() Method The readUTF() method of ObjectInputStream class is used to read a String in UTF(Uniform Text Format) format. It…
-
Counter variable in Java A counter variable in Java is a special type of variable which is used in the loop to…
-
Java ConcurrentLinkedQueue toArray() Method The toArray() method of ConcurrentLinkedQueue class returns an array containing all the elements present in the queue in…
- Java ObjectInputStreamJava Tutorial
Java ObjectInputStream registerValidation() Method with Examples
Java ObjectInputStream registerValidation() Method The registerValidation() method of ObjectInputStream class method registers an object to be validated before the graph is returned.…
-
Java 12 Java 12 release after the LTS version 11 of Java. JDK 12 is a part of the 6-month release cycle.…
-
Java Objectinputstream skipBytes() Method The skipBytes() method of ObjectInputStream class is used to skip the bytes by the numbers passed as the…
-
Bully algorithm in Java The bully algorithm is a type of Election algorithm which is mainly used for choosing a coordinate. In…
-
Java ObjectInputStream readField() Method The readField() method of ObjectInputStream class is used to read the persistent fields from the stream and makes…