Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Blog Directory  >  Software Blogs  >  Programming Blogs  >  Java Hungry programming Blog  > 

2022-04-16 03:53
In this post, I will be sharing how to convert Map to Set in Java. There are two ways to achieve our goal of converting Map to Set in Java:1. Using the HashSet class constructor2. Using Stre… Read More
2022-04-03 15:36
In this post, I will be sharing how to convert double to BigDecimal in Java with examples. There are two ways to achieve our goal:1. Using BigDecimal.valueOf() method [Recommended]2. Using t… Read More
2022-03-31 06:57
In this post, I will be sharing how to initialize empty collection in Java. The java.util.Collections class provide utility methods such as emptyList(), emptySet(), and emptyMap() and three… Read More
2022-03-27 08:24
In this post, I will be sharing what does ^ mean in Java with examples. ^ is also known as bitwise exclusive OR or XOR operator in Java.Read Also: What does ? mean in Java with examplesBitwi… Read More
2022-03-26 07:48
In this post, I will be sharing how to implement infinity in Java. We will implement double positive infinity, double negative infinity, float positive infinity, float negative infinity, ope… Read More
2022-03-21 07:39
In this post, I will be sharing what does ? mean in Java programming. We can use the "?" in the following ways in Java:1. Ternary operator2. Wildcard in genericsRead Also: What does colon(:)… Read More
2022-03-14 12:53
In this post, I will be sharing how to convert BigDecimal to Double in Java with examples. We can achieve our goal using BigDecimal class doubleValue() method. Let's dive deep into the topic… Read More
2022-03-13 04:07
In this post, we will learn about what does a colon means in Java programming. The colon operator can be used in various ways in Java as mentioned below:1. Enhanced for loops (for-each loop)… Read More
2022-03-10 03:56
In this post, I will be sharing how to get the second last digit of a number in Java with examples. There are two ways to achieve our goal:1. Using modulo operator2. Using String class charA… Read More
2022-02-27 06:36
In this tutorial, I will be sharing how to print tab space in Java. In Java, \t represents the escape sequence for the tab space. There are two ways to print tab space in Java:1. Using \t as… Read More
2022-02-06 12:56
In this post, I will be sharing how to convert Integer to int in Java. There are 3 ways to achieve our goal1. Using intValue() method2. Using parseInt() method3. Using assignment operator(Im… Read More
2022-01-30 14:16
In this short post, I will be sharing how to convert Character to char in Java. We can achieve our goal by using Character's class charValue() method or using the assignment operator. Let's… Read More
2022-01-22 15:37
In this short post, I will be sharing how to generate serialVersionUID in Intellij Idea. In IntelliJ Idea, we need to manually enable the auto-generate serialVersionUID option. It is tested… Read More
2022-01-10 16:10
In this short post, I will be sharing how to fix "integer number too large". This error is a compile-time error in Java. This error occurs when the java compiler tries to interpret the given… Read More
2021-12-29 12:44
In this post I will be sharing how to fix incompatible types: int cannot be converted to int[] error. This error occurs at compile-time. As always, first, we will produce the error incompati… Read More
2021-12-27 11:02
In this post, I will be sharing how to solve java orphaned case error in Java. This error is rare and mostly occurs when there is a code syntax mistake in the switch statement in the program… Read More
2021-12-18 15:58
In this post, I will be sharing how to fix unclosed character literal error. It is a compile-time error. As always, first, we will produce the error unclosed character literal in Java before… Read More
2021-12-17 14:48
In this post, I will be sharing how to fix unclosed string literal error in Java. As the name suggests, this error occurs when the string literal ends without quotation marks. A String class… Read More
2021-12-12 17:22
Nim game in java is played between two players, here, it will be played between a person and a computer. The person chooses the number of elements at the start of the game. The computer can… Read More
2021-12-11 17:08
In this post, I will be sharing how to check if an int is null in java. int is a primitive data type and Integer is a wrapper class in Java.Read Also:  How to convert int to Integer in… Read More
2021-11-21 17:24
In this post, I will be sharing how to fix the error: empty character literal in Java. When we need to declare an empty char, usually, we use ' ' (empty single quotes) as a char. I have alre… Read More
2021-11-21 12:16
In this tutorial, I will be sharing about the null character in java. char keyword represents a primitive data type. First, we will look into how to represent empty char in Java.Read Also:&n&hell…Read More
2021-11-06 10:35
In this post, I will be sharing the difference between / and % in Java. Both / and % are operators in Java. In simple words, / and % are mathematical operators and both have different use ca… Read More
2021-11-01 15:47
In this post, I will be sharing how to convert int to Integer in Java. The main difference between int and Integer is that int is a primitive data type whereas Integer is a wrapper class tha… Read More
2021-10-31 17:31
In this post, I will be sharing how to convert char to Character in Java. The main difference between char and Character is that char is a primitive data type whereas Character is a wrapper… Read More
Get Curl From Postman
2021-10-30 20:15
In this short tutorial, I will be sharing how to get (or extract) curl from Postman. Sometimes, we want to call the java webservice using curl command instead of calling via Postman. &n&hell…Read More
2021-10-30 07:10
In this post, I will be sharing what does | operator mean in Java. According to Java docs, | (pronounced as a pipe) is a bitwise inclusive OR operator. It is a binary operator. If either of… Read More
2021-10-24 14:09
In this post, I will be sharing how to initialize List of String in Java. There are six ways to achieve our goal:1. Using ArrayList 2. Using Java 8 Stream.of() 3. Using Java 9 List.of() 4. U… Read More
2021-10-23 13:28
According to Oracle Java docs, ! is a unary operator. It is called a 'NOT' operator. It can be used to convert false to true or vice versa. By using this operator, the logical state of an op… Read More
KimCartoon: 13 Best Alternatives In 2021
2021-10-17 15:11
Are you worried about KimCartoon getting banned? Worry not, we have all your child’s needs covered right here.KimCartoon is the finest platform for streaming cartoons in HD quality for… Read More
2021-10-16 19:42
In this post, I will be sharing how to get environment variable in Java. There are two ways to get environment variables:1. System.getenv(String variable) that returns specific environment v… Read More
Screen Capture In Java
2021-10-16 13:49
In this post, I will be sharing how to screen capture in java using API. We will use java.awt.Robot class object to capture the coordinate system. Based on the coordinates we will construct… Read More
2021-10-09 09:56
In this post, I will be sharing how to convert ASCII to equivalent String values in Java. There are two ways to achieve our goal.1. Using Character.toString() [Recommended]2. Using String.va… Read More
Java Open Web Page
2021-10-03 09:49
In this tutorial, I will be sharing the java program to open a web page in Java. The program will open the given URL in the default browser. We have covered the Windows, Linux, and macOS ope… Read More
2021-09-27 11:30
This article will solve the 'Read Also: How to make an empty list in PythonPython is a statically typed language, therefore, when it comes to string and integer, they are two distinct data t… Read More
2021-09-25 17:45
In this post, I will be sharing the top 10 frequently used java packages. These packages are used in almost every java application. Here, we are using JDK 17 release as a reference to list i… Read More
2021-09-18 18:22
In this post, we will be learning about the percent sign in Java. In simple words, for positive numbers, modulus operator(%) means percent sign in the java programming language.Read Also: Wh… Read More
2021-09-12 18:48
In this post, I will be sharing how to make an empty list in Python. Lists are similar to arrays, declared in other programming languages. Lists in Python need not be homogeneous i.e. a sing… Read More
2021-09-11 16:37
In this short tutorial, I will be sharing how to remove javaws.exe*32 on the windows operating system. First, we will see what is javaws.exe before moving on to the steps to get rid of it.Re… Read More
2021-09-10 19:11
else without if error is mostly faced by the java beginners. As the name suggests java compiler is unable to find an if statement associated with your else statement. else statements do not… Read More
KissCartoon Alternatives In 2021
2021-08-01 08:58
Undoubtedly, KissCartoon has been an excellent site for watching cartoons and motion pictures across the globe. Yet, it has its faults and issues that are leading to a degradation of quality… Read More
9cartoon Alternatives In 2021
2021-07-28 10:04
9cartoon is a popular website that allows its users to watch many cartoons, TV shows, and movies.Apart from cartoons, the site has been a paradise for any anime-lover due to its fantastic co… Read More
CouchTuner Alternatives In 2021
2021-07-25 11:36
We all need some rest after a long day at work or from your everyday life. The best way to spend leisure time is watching your favorite show or film. You can watch these shows and movies usi… Read More
2021-07-18 14:10
In Java, we can define Array as a data structure or an object which contains elements of the same data types. Each element in an array is accessed using its index number. The size of the arr… Read More
2021-07-04 12:12
In this post, I will be sharing what is an Isogram, examples of Isogram,and the isogram checker java program. There are three ways to achieve our goal:1. Using indexOf() and lastIndexOf() me… Read More
2021-06-20 19:14
In this article, we will explore different ways of printing an ArrayList in Java. Before that, we should know what is ArrayList and Why we need to use it in creating Java applications. You c… Read More
2021-06-18 20:17
In this post, I will be sharing how to check if LinkedList is empty in Java. There are two ways to achieve our goal:1. Using isEmpty() method [Recommended]2. Using size() method Read Also: D… Read More
2021-06-13 19:45
In this post, we have collected the most frequently asked Java interview programs for freshers. Please go through all the questions. These questions check your problem-solving and logical th… Read More
2021-06-07 14:37
INTRODUCTION• There are many programming languages used for complex computations on the Internet today as we evolve in computing and technology. These complex computational resources we… Read More
2021-05-25 16:50
Java is a general-purpose and popular programming language. This Java tutorial helps to learn the core java syllabus or topics and its concept.The core java tutorial covers industrial as wel… Read More
2021-05-22 20:15
In this post, I will be sharing the Python equivalent of charAt() in Java. Every method that is defined in Java has its alternative in Python. Similarly, charAt() method in Java that is util… Read More
Coding Interview Preparation [Core Java]
2021-05-13 17:28
In this post, I shall be sharing my notes of coding interview preparation for Java Developers. If you are about to give an interview for a Java developer in any of the MNC's like TCS, Infosy… Read More

Subscribe to Java Hungry

Get updates delivered right to your inbox!

Thank you for your subscription

×