Java - Medium Articles
What is Heap Pollution? Heap pollution implies that we have bad data in our heap memory. In Java language, heap pollution is a situation that… Read More
Inheritance: When we want to create a new class and there is already a class that includes some of the code that we want, we can… Read More
In this article, you will make a basic android application that can be used to call some numbers through your android application. You can do… Read More
In this article, you will make a basic Android Application that can be used to send email through your android application. You can do so… Read More
In this article, we will see what is the problem in comparing floating-point numbers and we will discuss the correct way to compare two floating-point… Read More
The format() method of java.text.MessageFormat class is used to get the formatted array of object appended into the string buffer object. formatted array will contain… Read More
Given a 2D array of characters with M rows and N columns. The task is to print all the possible paths from top (first row)… Read More
JPMS: JPMS i.e. Java Platform Module System is a new feature which is introduced in Java 9. With the help of the Java module system,… Read More
Given a TreeMap, the task is to iterate this TreeMap in Java. The TreeMap in Java is used to implement Map interface and NavigableMap along… Read More
The equals() method of java.text.Collator class is used to check if both strings are identical or not. Syntax:  public boolean equals(String source, String target) Parameter:… Read More
RecyclerView is a ViewGroup added to the android studio as a successor of the GridView and ListView. It is an improvement on both of them… Read More
The setChoices() method of java.text.ChoiceFormat class is used to set the new Choice item with a defined limit and format in Choiceformat object. Syntax: public… Read More
Access modifiers in Java help to restrict the scope of a class, constructor, variable, method, or data member. There are four types of access modifiers… Read More
Firebase is a mobile and web application development platform. It provides services that a web application or mobile application might require. Firebase provides secure file… Read More
The getKey() method of java.security.KeyStore class is used to get the key associated with the given alias, using the given password to recover it. Syntax:… Read More
To learn the art of programming in Java, it is important to first learn the rules and then learn when to break them!  And this… Read More
Learning a first programming language is always special for everyone. We get attached to it and it sticks with us forever. You might have been… Read More
The computeIfPresent(Key, BiFunction) method of HashMap class which allows you to compute value of a mapping for specified key if key is already associated with… Read More
Given a string str consisting of digits, alphabets, and special characters. The task is to extract all the integers from the given string. Examples: Input:… Read More
Below are the various methods to convert an Array to String in Java: Arrays.toString() method: Arrays.toString() method is used to return a string representation of… Read More