
The -g Debug Compiler Flag in Java
The debug compiler flag is a way to get the compiler to insert more debugging information. When we debug Java code, we want as much information about our code as possible.

The debug compiler flag is a way to get the compiler to insert more debugging information. When we debug Java code, we want as much information about our code as possible.

There’s probably nothing programmers hate more than documenting their code. Fortunately for Java developers, help is at hand. The JavaDoc tool generates HTML documentation from comments we write in our code.

When you auto-box integral primitives n Java to their respective wrapper classes, the wrapper classes cache all values from -128 to +127. This has practical implications that you should know about.

Occasionally during development, your program may crash with an OutOfMemoryError. What happened and how do you prevent it?

The Java compiler can warn you of potential problems. Should you suppress warnings? Some useful information on types of warnings and using the @SuppressWarnings annotation.

Higher-order functions are functions that either accept other functions as arguments, or return a function as a result. Let’s look at how Java 8 supports higher-order functions.

The standard functional interfaces in Java can look daunting. There are 43 of them! And they have complex and confusing names. This article will help you interpret the names and purpose of these standard functional interfaces.

Is it easy to learn to program? If you google this, the results will be very confusing. The truth is that it is not easy – but you should still do it. You just need to be prepared.

What are functional interfaces and why are they used with lambdas? Lambdas and functional interfaces go hand-in-hand in Java. In this article we discuss some principles of functional interfaces.

You’ve heard the term, but what is a lambda and how do you use them in Java? This is a quick introduction to lambdas in Java.
Check that incusdata.com is an approved sender, so that your Java tips don’t land up in the spam folder.
Our privacy policy means your data is safe. You can unsubscribe from these tips at any time.
Thank you for completing the form. We're excited that you have chosen to contact us about training. We will process the information as soon as we can, and we will do our best to contact you within 1 working day. (Please note that our offices are closed over weekends and public holidays.)
Our privacy policy ensures your data is safe: Incus Data does not sell or otherwise distribute email addresses. We will not divulge your personal information to anyone unless specifically authorised by you.
If you need any further information, please contact us on tel: (27) 12-666-2020 or email info@incusdata.com