Java

java logo

Tutorials related to the core Java language and the basics of Java web applications.

What is the DRY principle? Why is it useful to follow? This article describes the commonly used DRY principle that helps programmers ensure that they write quality code.

Exception Handling in Java This article gives you a general overview about exception handling in Java with some best practices.

What is the Difference Between Final and Immutable in Java? This article describes the differences between two terms in Java that are often the reason for some confusion: final and immutable.

How to check if two ZonedDateTime objects represent the same day? Simple example on how to check if two ZonedDateTime objects refer to the same day.

What is String interning in Java? String interning helps you to efficiently store and compare String objects, however overusing it could mean trouble. This article describes how do String storage works in the background and how can interning help you.

Java Interview Questions

Interview questions related to various aspects of the Java language.

Java Interview Questions About Strings A selection of Java interview questions and answers around the topic of Strings.

Java Interview Questions about the static keyword A selection of Java interview questions and answers around the topic of the static keyword.

JSP

Tutorials and techniques you can use with in your Java Server Pages (JSP) files. 

javax.servlet.jsp cannot be resolved to a type What to do when your IDE produces javax.servlet.jsp cannot be resolved to a type error?

How to get the current context path in a JSP file How to get the current context path in a JSP file using an EL expression.