java tutorial

Java Tutorial—Java is a general-purpose computer-programming language that is concurrent, class-based, object-oriented, and specifically designed to have as few implementation dependencies as possible

Java introduction and history– : Java is currently one of the most influential programming languages. It was started in 1990  when an American company that was leading the revolution in the computer industry decided to gather its best engineers together to design and develop a product that would allow them to become an important player in the new emerging Internet world. Among those engineers was James Arthur Gosling, a Canadian computer scientist who is recognised as the “father” of the Java programming language. It would take five years of design, programming, and one rename (from Oak to Java because of trademark issues), but finally in 1996, Java 1.0 was released for Linux, Solaris, Mac, and Windows.


Java version-:We know that the java developed in 1990 by the American company. Java was developed Sun Micro-systems .The first stable Java version released by Sun Microsystems could be downloaded from the website as an archive named JDK 1.0.2. JDK is an acronym for Java Development Kit. This is the software development environment used for developing Java applications and applets. It includes the Java Run-time Environment (JRE) , an interpreter (loader), a compiler, an archiver, a documentation generator, and other tools needed for Java development. We will get into this more when I cover how to install the JDK on our computer.

Install Java-:Before we install java in our system there are some criteria for installing java.To start learning Java we need a few things installed on our computer.

Java Features-: The primary objective of Java programming language creation was to make it portable, simple and secure programming language.Java borrowed most of its syntax from a programming language called C++, which has a syntax based on the C language.

Java Data Types -:  A lot of Java code was written but when we are doing designing of classes, only the most simple data types are used, a few numeric ones and text. In the JDK  a lot of data types are declared for a multitude of purposesfor modelling calendar dates, for representing multiple types of numeric, for manipulating texts, collections, files, database connections, and so forth. In JDK, there are libraries created by other parties that provide even more functionality. But the data types provided by the JDK are fundamental ones, the bricks every Java application is built from. Of course, depending on the type of application we are building, we might not need all of them.

Variable in Java-:A variable is a set of characters that can be associated with a value. It has a type. The set of values that can be assigned to it are restricted to a certain interval group of values or must follow a certain form defined by that type.

Operators in Java-: Java has a lot of operators, simple and composed.  Most Java operators are the ones we know from maths but because programming involves types other than numeric, extra operators with specific purposes were added.  Like any other programming language Java support many types operator