Core java
- 22 March
XOR operator in java
In this tutorial, we will see about XOR operator in java. XOR operator or exclusive OR takes two boolean operands and returns true if two boolean operands are different. XOR operator can be used when both the boolean conditions can’t be true simultaneously. Here is truth table for XOR operator. Let’s say you have Person […]
- 22 March
[Fixed] insert dimensions to complete referencetype
In this post, we will see about error insert dimensions to complete referencetype. You will get this error when you are trying to pass primitive objects into generic type declaration but generic always expect a Wrapper class in java. For example: Let’s say you have the below class named InsertDimensionlMain.java. [crayon-6742250a58b13127394256/] Above code won’t compile, […]
- 21 March
Java isNull method
In this post, we will about Objects class’s isNull method. Objects’s isNull() method is used to check if object is null or not. java.util.Objects class was introduced in java 7. Here is simple example for Object's isNull method. [crayon-6742250a58c57912324944/] Output: Is str1 null: false Is str2 null: true Let’s look at source code Object’s isNull() […]
- 17 March
PriorityQueue in Java 8
In this post, we will see about Java 8 PriorityQueue. When the objects are supposed to be processed on the basis of their priority, in that scenario we use PriorityQueue. It’s a special type of queue (also, unbound queues) where the elements can be ordered either as per their natural ordering or based on a […]
- 17 March
New line character in java
In this post, we will see about new line character in java and how to add new line character to a String in different operating systems. Operating systems have different characters to denote the end of the line. Linux and new mac: In Linux, the end line is denoted by \n, also known as line […]
- 17 March
[Fixed] no main manifest attribute
In this post, we will see how to solve Unable to execute jar- file: “no main manifest attribute”. Problem When you have a self-executable jar and trying to execute it. You might get this error. Unable to execute jar- file: “no main manifest attribute” Solution Maven You might get this error when Main-Class entry is […]
- 15 March
Java read file line by line
In this post, we will see different ways to read file line by line in java. Sometimes, we need to read file line by line to a String, and process it. Here are different ways to read file line by line in java. Java 8 Streams Java 8 has introduced a new method called lines() […]
- 11 March
GGBet-Bewertung 2024: Ist GG.Bet Esports seriös?
In dieser Bewertung von GGBet haben wir uns diese preisgekrönte Site angesehen, die sich auf E-Sport-Wetten konzentriert. Wir werden uns die E-Sport-Titel ansehen, die von dieser Wettplattform abgedeckt werden. Wie ist das GG.Bet-Casino-Erlebnis, der Kundenservice, die Zahlungsmethoden, herunterladbare Anzeigen und vieles mehr. Bewertung der Redaktion
- 07 March
Slots Temple Publicizes Latest Developer Partnership With 4ThePlayer
Slot Temple’s thriving affiliate site and fashionable free-to-play tournaments are set for an exciting expansion with the addition of video games from leading UK growth studio, 4ThePlayer. The producer of slot favourites similar to 9K Yeti, 1,2,three Boom! and a pair of Gods Zeus vs Thor has agreed to partner with Slots Temple and reiterate […]