Home » Author Archives: Venkat-Raman Nagarajan

Author Archives: Venkat-Raman Nagarajan

Venkat-Raman Nagarajan
Venkat works for a major IT firm in India and has more than a decade of experience working and managing Java projects for a banking client.

Java Float Datatype Example

The Float class wraps a value of primitive type float in an object. An object of type Float contains a single field whose type is float. In addition, this class provides several methods for converting a float to a String and a String to float, as well as other constants and methods useful when dealing with float. Let us look ...

Read More »

How to fix cannot find symbol Java Error

We would have come across the error – Cannot find symbol when compiling our Java classes. In this article, let us look at some common causes and how to avoid them. 1. Cannot find symbol Java error This compilation error occurs when the compiler is unable to get an identifier declared in the code. Some of the usual causes could ...

Read More »

Dynamic Array Java Example

An Array is a container object that holds a fixed number of values of a single type. The length of an array is established when the array is created. The length is fixed after creation. A dynamic array is a variable-size list data structure that allows elements to be added or removed. Dynamic arrays overcome a limit of static arrays, ...

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 »

Int to char Java Example

This article deals with the int to char Java conversion. We will start with the basics of data types and then we will see the conversion of int to char with some examples. 1. Data types in Java Java is a strong statically typed language. This means that every variable and every expression has a type that is known at ...

Read More »

How to Fix Java Error Code 1618

Most of us would have faced the Java Error Code 1618 while installing or updating Java. The issue is commonly noticed during installation of Java versions 7 and 8. The error indicates that another installation is in progress. It may be a java version or any other installation that uses Windows installer. In this article we shall see some possible ...

Read More »

Java JFrame Example

In this article, we will see a JFrame Example and we will discuss some of JFrame main methods. We will also see how JFrame and other main classes like JPanel, JLabel, and JButton fit into the Swing hierarchy. We will then create a simple GUI using the javax.swing package. 1. Introduction JFC (Java foundation classes) encompasses a group of features ...

Read More »