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



Char to Int Java Example

1. Introduction This article will demonstrate the char to int Java conversion. In Java, char data type is single 16 bit unicode character and int data type is 32 bit signed two’s complement integer. To convert one data type to another, type casting is required. Type casting can be of two types: implicit type casting and explicit type casting. Since ...

Read More »

Array to String Java Example

1. Intro to Array in Java In java, arrays are a collection of similar types where type can be a String, Integer or an instance of a user defined class. int intArray[]; //declaring an array of integers intArray = new int[20]; // allocating memory to array As shown in above code snippet, we have declared intArray as an array of ...

Read More »

Selenium Name Locator Example

In this post, we feature a comprehensive Selenium Name Locator Example in Automation Scripts. 1. Introduction Selenium is used to automate browsers. Selenium WebDriver has found its place in test automation for web applications. It is used to create robust, browser-based regression automation suites and tests. It can be used for end to end testing of an application. This ensures ...

Read More »

Java Array Length Example

In this post, we feature a comprehensive Java Array Length Example. The article talks about the length property of Arrays in Java and demonstrates its usage through some examples. 1. Introduction Arrays are one of the most versatile data structure found in the programming paradigm, be it any programming language. An array is a group of similar datatype variables and ...

Read More »

Reverse Array Java Example

ٌHow would you answer this question: how do you reverse an array in Java?  Well, there are multiple ways to solve this problem: Revere array in Place:You can reverse array by writing your own function, which loops through the array and swaps elements until the array is sorted. You can reverse an array by converting array to ArrayList and then ...

Read More »

Spring WebSockets Example

Hello there. Thank you for showing interest in Spring WebSockets Example. In this example we will learn how to send and receive messages between a browser and a server over a WebSocket. A WebSocket is used to build an interactive web application. WebSocket is a lightweight layer above TCP. We will be creating a football live commentary web application to ...

Read More »

Java Collections Tutorial

1. Introduction A collection is a group of objects and treated as a single unit. It is used to store, retrieve, and manipulate aggregate data. Java has provides a collection framework which contains interfaces, classes, and algorithms since version 1.2 and enhanced it over the time. Here are some enhancements: Major enhancement at version 5, including generic type.Added more interfaces ...

Read More »

Java Stack Example

1. Introduction A stack is a container of objects that are inserted and removed according to the last-in-first-out (LIFO) principle. In the stacks, only two operations are allowed-  push the item into the stackpop the item out of the stack. A stack is a limited access data structure. Elements can be added and removed from the stack only at the top.  push adds ...

Read More »

Android App Development: Kotlin vs Java

1. Overview In this post, we look at how to develop Android Apps with Android Studio using Kotlin and Java. Eclipse setup for Android is also included in this article. Kotlin vs Java analysis is explained with pros and cons of each programming language. Table Of Contents 1. Overview 2. Android App Development: Kotlin vs Java 2.1. Prerequisites 2.2. Download ...

Read More »

SQL Copy Table Example

Welcome readers, in this tutorial, we will learn how to create an exact copy of an existing table in the same or different database. 1. Introduction Cloning or Copying a table is an important phenomenon that helps developers rescuing disaster recovery situations or to perform something without affecting the original table. To start with this tutorial, we are hoping that ...

Read More »