Just an Intro - Java Programming Course -0

         INTRODUCTION TO JAVA PROGRAMMING

Before directly diving into Java we will first discuss about programming.

Program: Set of instructions given to a machine is called a program.

Programming language: The tools which are used to write a program is called programming language.

Different programming languages:

1)Machine language (1st generation): In machine level the instructions are given in binary form (0’s or 1’s).

2)Assembly language (2nd generation): Instructions are given by using some symbols called as mnemonics (used for microprocessors).

3)High-Level language (3rd generation): Instructions are given by using simple English words.

Examples of programming languages: BASIC,FORTRAN,COBOL,PASCAL,BCPL,B,C,C++,JAVA,C#,PYTHON etc.

->Using PASCAL we can’t develop system software (OS).

  •  Most Popular Programming Languages  –
  • ·         Python
  • ·         C++
  • ·         Java
  • ·         C
  • ·         Scala
  • ·         C#
  • ·         R
  • ·         Ruby
  • ·         Go
  • ·         Swift
  • ·         JavaScript

 Java Programming:

Java was originally developed by James Gosling at Sun Microsystems . It was developed in 1991. Java was called as OAK at starting . Later in 1995 it's name was changed to JAVA . 

Characteristics of java language:

1.    It is a simple language and simple to implement.

2.    It supports Object Oriented programming – Basically we have 2 types of programming

a)    Procedural or functional oriented programming (FORTRAN , C etc.,)—Gives more importance to divide the program into sub-programs called functions.

b)    Object-oriented programming (JAVA , C++etc.,)—

Gives more importance to divide the program into objects(which will be discussed later).

·       Java is a powerful general-purpose programming language. It is used to develop desktop and mobile applications, big data processing, embedded systems, and so on.

·       According to Oracle, the company that owns Java, runs on 3 billion devices worldwide, which makes Java one of the most popular programming languages.

·       It is robust – memory management and runtime errors can be easily handled in java by using a concept called exceptional handling.

·       Java is a portable language meaning it is machine independent (platform independent)

·       It has high performance

·       It is a case sensitive language means for example ‘a’ is different from ‘A’.

·       It gives more security (Provided by byte code)

 

 


Comments

Popular Posts