Home » Archives for Vaishnavie Jayendran

Author Archives: Vaishnavie Jayendran

Vaishnavie Jayendran
I have done my Bachelor of Engineering in Computer Science. I have worked primarily in Java and related open source frameworks. Learning and exploring new technologies is my passion

Java Double Primitive Example

In this article, we will focus on examples in order to understand the Java double primitive type. 1. Introduction The double data type is a double-precision 64-bit IEEE 754 floating point. The double data type can store fractional numbers from 1.7e−308 to 1.7e+308. That range can also be positive or negative. Note that you should end the value of a double with a “d”. ...

Read More »

Java print to console Example

In this post, we feature a comprehensive article about the Java print to console Example. We will have a look at the System.console, the methods provided and its differences. 1. Java Console class The java.io.Console class provides methods to access the character-based console device. If the virtual machine has a console then it is represented by a unique instance of ...

Read More »

Java Bitwise Operators Example

In this post, we feature a comprehensive article about Java Bitwise Operators. 1. Java Bitwise Operators Bitwise operators compare two variables bit by bit and return a variable whose bits have been set based on whether the two variables being compared had respective bits that were either both “on” (&), one or the other “on” (|), or exactly one “on” ...

Read More »

Java Command Line Arguments Example

In this article, we will focus on understanding how to compile and run a Java program from the command prompt and an example for Java Command Line Arguments. The prerequisite for our example is JDK has to be installed. I am using JDK version 1.8.0_211 and the Operating System is Windows. Before we head straight to our example, let us ...

Read More »

Java String Equals Example

In this article, we will focus on understanding the Java String equals method and == operator and its comparison. The examples in this article are created using eclipse photon IDE and Java 8. 1. String in Java We will first see how String works to understand more about the equals() method. In Java, Strings are objects. Strings can be created ...

Read More »

Java this Keyword Example

In this article, we will try to understand the Java this keyword with the help of examples. this, self, and Me are keywords used in some computer programming languages to refer to the object, class, or other entity of which the currently running code is a part. The entity referred to by these keywords thus depends on the execution context (such as which object is having its method called). ...

Read More »