Do you want to know how to develop your skillset to become a Java Rockstar?

Subscribe to our newsletter to start Rocking right now!

To get you started we give you our best selling eBooks for FREE!

 

1. JPA Mini Book

2. JVM Troubleshooting Guide

3. JUnit Tutorial for Unit Testing

4. Java Annotations Tutorial

5. Java Interview Questions

 

and many more ....

 

 

String equalsIgnoreCase() Java Example

In this post, we feature a comprehensive article about the equalsignorecase Java ‘s String Method. 1. Introduction Java String class has provided the equalsIgnoreCase method to compare this String to another String by ignoring case since version 1. Here is the method’s signature: boolean equalsIgnoreCase​(String anotherString) The String class inherits the equals method from the Object class. It returns true if and only if the argument ...

Read More »

Remove element from an Array Java Example

Hello readers, in this tutorial, we will learn two different ways to remove an element from an array. 1. Introduction In Java programming, Arrays represent an index-based object that consists of the same data type elements. The array elements are stored in a common memory location and can store only a fixed number of elements. Arrays offer, Code Optimization Random ...

Read More »

What is null in Java

In this article, we will discuss the null in java. Java and null share a unique bond across the board, whether we are using it as a default or placeholder or being used as a filler for a variable intentionally. 1. What is null and why it is used? Recall what a variable is and what a value is. A ...

Read More »

SQL Temp Table Example

Welcome readers, in this tutorial, we will learn how to use the temporary tables in the database. 1. Introduction A temporary table is a table that, Is only visible to the current session Is automatically dropped when the current session is closed Is permanently not stored in a database; therefore, it is effective for the testing purpose Is only available ...

Read More »

Interface vs Abstract Class Java Example

In this post, we feature an Interface vs Abstract Class Java Example. One of the most discussed topics in Java for newbies is the Interface and Abstract class. I will give insights into the Java Interfaces and abstract classes. I will also provide some examples and practical use cases. 1. Introduction Abstraction, Encapsulation, and Inheritance are the basic ingredients of ...

Read More »

Scanner hasNext() Java Example

This article will feature a comprehensive Example on Java Scanner hasNext method. We will also understand the hasNext method of Iterator interface with suitable example. 1. Introduction In Java, Scanner is a simple text reader which can parse primitive types and strings using regular expressions. It has been added to JDK 1.5. It breaks its input into tokens using a ...

Read More »

Spring Form Validation Example

In this example, we will show how to implement server-side form validation in a Spring MVC application. 1. Introduction Form validation is a basic requirement for web applications that accept data as input. For example, you may want to ensure that an email address or credit card number sent in a request is valid before processing the data. There are ...

Read More »

Array methods Java Tutorial

In this post, we feature a comprehensive Array methods Java Tutorial. 1. Introduction to Arrays in Java In java Arrays can be think of the sequential collection of objects. An array can contain a number of items which are all located next to each other in memory. If the number of items in an array is zero, then the array ...

Read More »

Java Cheat Sheet

In this post, we feature a Java cheat sheet. In this tutorial, we will see the Java features and the API classes of Java in detail. 1. Overview We look at the features of Java in this article. Java is used for developing software and executing the code. Java code is converted into bytecode after compilation. The java interpreter runs ...

Read More »

Java Constant Example

A Java constant is used to represent a value that cannot be changed after assignment. Constants make a program more readable and can take the modifiers static and final. Let us look into some examples for Java constants and their best practices in this article. 1. Java constant examples and best practices 1.1 Usage of final The final modifier indicates ...

Read More »