Java

Image: How to install Java in Windows 11 step by stepchainarong06shut­ter­stock

How to install Java in Windows 11 step by step

Java is not just a widely used pro­gram­ming language, it has become an integral part of software and website de­vel­op­ment. Java is free and easily com­pat­i­ble with Windows 11. However, you must ensure that you install the right version Java in Windows 11. We’ll explain step by step…

Read more
Image: How to install Nextcloud on Ubuntu 22.04ESB Pro­fes­sion­alshut­ter­stock

How to install Nextcloud on Ubuntu 22.04

To install Nextcloud on Ubuntu 22.04, you can carry out most of the necessary steps via the command line. In addition to the in­stal­la­tion, it’s possible to set up an ad­min­is­tra­tor and SSL cer­tifi­cate. The pre­req­ui­site is that your system is up to date. We’ll guide you through the…

Read more
Image: What are the 10 most common Java interview questions? (And how to answer them)ESB Pro­fes­sion­alShut­ter­stock

What are the 10 most common Java interview questions? (And how to answer them)

In job in­ter­views for software de­vel­op­ment, there’s a strong focus on spe­cial­ist knowledge. In addition to de­scrib­ing processes and un­der­stand­ing team roles, questions about pro­gram­ming languages are par for the course. One of the most important languages is Java. We’ve put…

Read more
Image: How to use Java variablesREDPIXEL.PLShut­ter­stock

How to use Java variables

Java variables can store different data types and are an el­e­men­tary part of the pro­gram­ming language. In this tutorial, we explain how to declare and ini­tial­ize Java variables, what the different variable types are and how variables work with different data types. We also show a…

Read more
Image: How to use Java’s StringBuilderra2 studioShut­ter­stock

How to use Java’s String­Builder

As con­ven­tion­al strings cannot be sub­se­quent­ly changed without creating a new object, an al­ter­na­tive can often come in handy. Java String­Builder allows you to ma­nip­u­late the stored string using various methods. In our article, you can find out how the class works, what…

Read more
Image: How to convert a string to int in JavaUndreyShut­ter­stock

How to convert a string to int in Java

To convert string to int in Java, you have the choice between two practical methods: Integer.parseInt() and Integer.valueOf(). We will explain how the two methods work, show you their syntax and explain how to use them through some practical examples. You will also learn about…

Read more
Image: How to use the Java substring methodGaudiLabShut­ter­stock

How to use the Java substring method

If you want to extract a substring from a string, you have various options available to you. Probably the most effective method is Java’s substring(). In our dedicated article, we explain how this method works and show you its two variants with and without endIndex using some…

Read more
Image: How to compare strings in JavaGaudiLabShut­ter­stock

How to compare strings in Java

You have various options in Java for comparing strings with each other. The Java equals() method is par­tic­u­lar­ly rec­om­mend­ed, but Java compareTo() is also very suitable for strings. In this dedicated article, we explain how the two methods work and also show you in which cases…

Read more
Image: How to split strings in Javara2 studioShut­ter­stock

How to split strings in Java

In Java, you can separate a string into several different sub­strings. The best method for splitting strings in Java is split(). The method has two pa­ra­me­ters and some other par­tic­u­lar­i­ties that you should be aware of. In this article, we explain every­thing you need to know about…

Read more
Image: How to use the Java modulo operatorNDAB Cre­ativ­i­tyshut­ter­stock

How to use the Java modulo operator

Java’s modulo is also known as the remainder operator. It is used to determine what the remainder is after dividing two numbers and takes that into account in your code. In this dedicated article, we explain why the modulo operator is so important in Java and we also show you how…

Read more