Java - Medium Articles
Serialization is a mechanism of converting the state of an object into a byte stream. Deserialization is the reverse process where the byte stream is… Read More
Popup and PopupFactory are a part of the Java Swing library. Popups are used when we want to display to the user a Component on… Read More
TextInputDialog is a part of JavaFX library. TextInputDialog is a dialog that allows the user to enter a text, and the dialog contains a header… Read More
The java.math.BigDecimal.hashCode() returns the hash code for this BigDecimal. The hashcode will generally not be the same for two BigDecimal objects with equal values and… Read More
prerequisite : BigInteger Basics The java.math.BigInteger.testBit(index) method returns true if and only if the designated bit is set. This method Computes (this & (1<<n)) !=… Read More
Alert is a part of JavaFX and it is a subclass of Dialog class. Alerts are some predefined dialogs that are used to show some… Read More
A multi-threaded process as we all know has several sequences of control, where each sequence is governed by a thread and is capable of performing… Read More
The java.lang.Integer.toString() is an inbuilt method in Java which is used to return the String object representing this Integer’s value. Syntax : public static String… Read More
Given a very large number, print all the 3 digit repeating numbers with their frequency. If a 3 digit number appears more than once, print… Read More
Project Title: Baby Monitoring Smart Cradle  Introduction: As we are very well familiar with the hurdles faced by Parents to nurture their infant and especially in… Read More
The java.util.LinkedHashMap.removeEldestEntry() method in Java is used keep a track of whether the map removes any eldest entry from the map. So each time a… Read More
FlowLayout is used to arrange components in a sequence one after the other. The default layout of applet and panel is FlowLayout. Constructors : FlowLayout():… Read More
The java.lang.Integer.hashCode() method of Integer class in Java is used to return the hash code for a particular Integer . Syntax: public int hashCode() Parameters… Read More
Given marks scored out of 100 by a student in subjects where the name of the subject is key and marks scored is the value.… Read More
ProgressIndicator is a part of JavaFX package. It’s a circular control which is used for indicating progress, either infinite or finite. Often used with the… Read More
A Comma-Separated Values (CSV) file is just a normal plain-text file, store data in a column by column, and split it by a separator (e.g… Read More
Canvas class is a part of Java AWT. Canvas is a blank rectangular area where the user can draw or trap input from the user.… Read More
The Java.util.HashSet.add() method in Java HashSet is used to add a specific element into a HashSet. This method will add the element only if the… Read More
Enum in Java is a data type that contains a fixed set of constants. A Java enum type is a special kind of Java class.… Read More
The Java.util.LinkedList.get() method is used to fetch or retrieve an element at a specific index from a LinkedList. Syntax: LinkedList.get(int index) Parameters: The parameter index… Read More