Author: admin

  • JDK vs JRE vs JVM

    All three JDK, JRE and JVM are interdependent. JDK is Java Development Kit primarily meant for Developers to develop Java based applications. JRE is Java Runtime Environment where Java program runs. JDK carries JRE as an integral part of it. JRE can be installed seperately as well on systems where no developement is to be…

  • Decisions

    Decision making structures require that the programmer specify one or more conditions to be evaluated or tested by the program, along with a statement or statements to be executed, if the condition is determined to be true, and optionally, other statements to be executed if the condition is determined to be false. Following is the…

  • Java Virtual Machine(JVM)

    The JVM is a specification, and can have different implementations, as long as they adhere to the specs. The specs can be found in the below link − https://docs.oracle.com Oracle has its own JVM implementation (called the HotSpot JVM), the IBM has its own (the J9 JVM, for example). The operations defined inside the spec are…

  • Constants

    The constants refer to the fixed values that the program cannot alter during its execution. These fixed values are also called literals. Constants can be of any of the basic data types like an integer constant, a floating constant, a character constant, a complex constant, or a string literal. There are only two logical constants : .true. and .false.…

  • Variables

    A variable is nothing but a name given to a storage area that our programs can manipulate. Each variable should have a specific type, which determines the size and layout of the variable’s memory; the range of values that can be stored within that memory; and the set of operations that can be applied to…

  • Java vs C++

    Java is a general-purpose, high-level programming language. Java is used for web development, Machine Learning, and other cutting-edge software development. Java programming language was originally developed by Sun Microsystems which was initiated by James Gosling and released in 1995 as core component of Sun Microsystems’ Java platform (Java 1.0 [J2SE]) C++ is a middle-level, case-sensitive, object-oriented…

  • Data Types

    Fortran provides five intrinsic data types, however, you can derive your own data types as well. The five intrinsic types are − Integer Type The integer types can hold only integer values. The following example extracts the largest value that can be held in a usual four byte integer − When you compile and execute…

  • Features

    Java programming language was initially developed to work on embedded systems, settop boxes, television. So by requirements, it was initially designed to work on varied platforms. Over the period of multiple years, Java evolved to become one of the most popular language used to develop internet based applications. Java is a feature rich language and with…

  • Basic Syntax

    A Fortran program is made of a collection of program units like a main program, modules, and external subprograms or procedures. Each program contains one main program and may or may not contain other program units. The syntax of the main program is as follows − A Simple Program in Fortran Let’s write a program…

  • History

    History of Java Java programming language was originally developed by Sun Microsystems which was initiated by James Gosling and released in 1995 as core component of Sun Microsystems’ Java platform (Java 1.0 [J2SE]). History of even naming of the Java is very interesting. It went under many names. Java Name History GreenTalk James Gosling was…