Java provides many types of operators which can be used according to the need. They are classified based on the functionality they provide. Some of the types are- 1. What Is an Operator? An operator is a symbol that performs a specific kind of operation on one, two, or three operands, andContinue Reading

Overview of data types Any programming language has a set of data types. Data types are basic, and quite similar for all languages. All data types are composed from bits, therefore, I dedicate a post to introduce the history of bits and bytes. My advice is that you should read it before continuing reading this post.Continue Reading

Structure of a Java program A typical Structure of a Java program would contain the following elements: Package declaration Import statements Comments Class definition Class variables, Local variables Methods/Routines/Behaviors The below picture would show the above mentioned elements that make out the structure of Java program. Package Declaration : Classes in java could be placedContinue Reading

There are many IDE (Integrated Developement Environment) s for Java programming. To name some: Eclipse, NetBeans, IntelliJ are mostly used among developers. A brief list of IDEs for Java Programming or Development are given below, with a brief description of their’s, from their official websites. Eclipse [https://eclipse.org/downloads/packages/eclipse-ide-java-developers/neon2] An amazing openContinue Reading

Let’s have a look at how memory management in Java works. We will be going to discuss how the objects get destroyed, working of a garbage collector, things that are managed by JVM (Java Virtual Machine). It is necessary for a programmer to understand the working of memory management toContinue Reading

JVM is a virtual runtime environment to execute Java byte codes. The JVM doesn’t understand the keywords we used to write code. That is why it is converted into bytecode. It controls the execution of the Java programs and enables features such as automated exception handling, Garbage Collection.  When weContinue Reading

We must understand the basic difference between the JDK, JRE, and JVM before diving deep into Java. JDK JRE JVM JDK stands for Java Development Kit. It provides development tools and execution environment.  JRE stands for Java Runtime Environment. It provides the set of tools only to execute our program.Continue Reading

JRE is an installation package that provides an environment to run the Java program on any Operating System. It does not deal with the development process of any application. It is a part of the Java Development Kit (JDK). It is a software distribution that has Java Class Library, specificContinue Reading

Java Development Kit (JDK) The Java Development Kit is a software development environment used to create Java applications. The JDK includes JRE (Java Runtime Environment), an interpreter (java), a compiler (javac), an archiver, a documentation generator, and other tools needed for java application development. Oracle Corporation is releasing the platformContinue Reading

A brief history of Java Java was started by James Gosling and his colleagues at Sun Microsystems in 1991. It was originally from the idea of programming to control without relying on CPU used for electronic devices such as TVs, washing machines, microwaves, etc. Therefore, they embarked on building a fast, compact, efficient, device-independent language. Eventually, the “Oak” language wasContinue Reading