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 ....



Java Composition Example

In this article, we will see examples of the composition in Java, which is a very important aspect of Programming. 1. Introduction Association is the relation between two separate classes that establish through their Objects. Association can be one-to-one, one-to-many, many-to-one, many-to-many. In Object-Oriented programming, an Object communicates to other Objects to use functionality and services provided by that object. Composition and Aggregation are the ...

Read More »

Java RMI – Java Remote Method Invocation Example

1. What is RMI RMI (Remote Method Invocation) is an object-oriented way of RPC (Remote Procedure Call) to realize communication between distributed objects in a distributed computing environment. It allows an object to invoke methods on a remote object. Java RMI, a Java implementation of remote method invocation, consists of several APIs under java.rmi package. It allows a Java program ...

Read More »

Multidimensional Array Java Example

In this article, we will see what a multidimensional array is in Java, various syntaxes, and how we can use such arrays in real-world examples. 1. Introduction An array is a basic data type that holds multiple values of the same datatype. Each individual value can be accessed using a number based index relative to the first element in the ...

Read More »

Java Parse String Example

In this example, we shall learn about the different techniques to parse a String in Java. We will be demonstrating the StringTokenizer class, the String.split() method and live code examples to leverage these utilities. 1. Introduction The definition of “parse” in Wiktionary is – “To split a file or other input into pieces of data that can be easily stored ...

Read More »

Static Methods Java Example

1. Introduction In this article, we will take a look at Java Static Methods. Static methods are used for computational tasks or stateless functions. Static methods can be defined in java classes and interfaces. 2. Java Static Methods Example Static methods are not dependent on class instances. They do not operate on instance properties. They perform operations from the parameters ...

Read More »

Java Long Class Example

In this article, we will see examples of the Long class in the java programming language. 1. Introduction The Long class is simply a wrapper class for the primitive type long. It wraps the long primitive value to an object. An object of type Long contains a single field whose type is long. So what would be the benefit if wraps around the primitive data ...

Read More »

Java Type Casting

This example will dive into the core concepts of Java Type casting. Java enables type casting of the primitive data types as well as objects. 1. Introduction One of the fundamental aspects of Object Oriented Programming is the ability to be able to juggle between different objects and data types. The Java compiler requires all variables in a program to ...

Read More »

Singly Linked List Java Example

In this example, we shall discuss a Singly Linked List in Java. We’ll also go through some live code demonstrating different operations on a Singly Linked List. 1. What is a Linked List? A Linked List is a linear data structure consisting of a collection of Nodes that are not stored in contiguous but random memory locations. It is a ...

Read More »

Amazon EC2 Security Groups Tutorial

Welcome readers, in this tutorial, we will see an introduction to AWS and the Amazon EC2 security groups. 1. Introduction AWS represents the Amazon Web Services and it provides different services ranging from IaaS (Infrastructure as a Service), PaaS (Platform as a Service), or SaaS (Packaged software as a Service). It offers flexibility by giving the users flexibility of what ...

Read More »

Math.ceil Java Example

1. Introduction In this example, we will learn about the Math.ceil Java method. Java math class contains methods for performing basic numeric operations such as the elementary exponential, logarithm, square root, and trigonometric functions. Some of the most important of Math class methods are min(), max(), avg(), sin(), cos(). You could take a look at all methods of Math class ...

Read More »