ddsingh@infomatics.info +91 9760014754

Why Learn Java?

Machine Language:-

Machine Language is a language which is directly understood by the Computer, because it is written in 0 & 1 and Computer understand 0 & 1 only.

Ex:- DD Singh (In ASCII D = 68, D = 68,etc.)

Each ASCII is converted into Binary which is understood by Machine.


Drawback Of Machine Language:-

It is a boring job to write each and every thing in the 0 & 1 or we can say that it is a TDS (Tedious) job.


Assembly Language-

Assembly language uses the symbolic code instead of the numeric code. Symbolic code is also known as Mnemonic Code.



Disadvantage of Assembly Lamguage:-

 Assembly Language was the processor dependent language.

Note:-

These two languages(Machine & Assembly) are the Low level languages. Low Level Languages are those languages which having the dependency on the hardware.

To overcome this problem(Hardware Dependency) some high level languages was introduced. These Languages are-

  • COBOL- Common Business Oriented Language
  • BASIC- Beginners All-Purpose Symbolic Instruction Code
  • FORTRAN- Formula Translation
  • ALGOL- Algorithm Language

Disadvantage of above high level languages:-

 These all languages are the target based languages.

Ex-

 COBOL is used for Business Oriented project, FORTRAN is used for Scientific Calculations, etc.

To overcome the above problem(Target Based) one language was introduced i.e. C.

"C is the middle level language because in that we can do the low-level programming as well as we can do the high-level programming."

Disadvantage of C:-

  • Windows programming(GUI Application) is very difficult.
  • It was not Secured Language because it interact with os

Oops:-

  It stands for Object Oriented Programming System/Structure.

Oops is not a language, it is a software development methodology(Programing Approach).

It is created on the basis of real world system.

Problem in C/CPP:-

Note:- 

Source code of C & C++ language(Which is Developed by You) is OS independent whereas compiled code of this languages are OS dependent.

To overcome this problem(OS Dependency) one language was introduced that was JAVA.


Java Tutorial

Java is a programing  language.

      or

Java is an Object Oriented,Internet Programming Language & a platform.

It uses main two terms, i.e.-

  1. Java
  2. JDK


Note-

In jdk 1.2 & jdk 1.5, highly or drastic changes occurs in JAVA.

JDK & JRE is essential for Development Machine.

JRE is essential for Production Machine.


Platform:-

Any hardware or software environment in which a program runs, known as a platform. Since Java has its own Runtime Environment (JRE) and API(Application Programming Interface). It is called platform.

Platform=JRE+API(Library)


Where it is used?

According to Sun(The Sun name is derived from the initials of the Stanford University Network.), 3 billion devices run java.There are many devices where java is currently used.

Some of them are as follows:-

  • Desktop Applications such as acrobat reader, media player, antivirus etc.
  • Web Applications such as irctc.co.in, icicibanck.com etc.
  • Enterprise Applications such as banking applications.

Types of Java Applications

  1. Standalone Application
  2. Web Application/Enterprise Application
  3. Mobile Application

1. Standalone Application

It is also known as Desktop Application or Window-Based application.

An application that we need to install on every machine such as media player, antivirus etc.

AWT(Abstract Window ToolKit) and Swing are used in java for creating standalone applications.

2. Web Application/Enterprise Application

An application that runs on the server side and creates dynamic page, is called web application.

Currently, servlet, jsp technologies are used for creating web applications in java.

3. Mobile Application

An application that is created for mobile devices.

Currently Android and Java ME (Micro Edition) are used for creating mobile applications.


Where Does Java Fit it:-


History of Java

Java history is interesting to know.

Java team members (also known as Green Team), initiated a revolutionary task to develop a language for digital devices such as set-top boxes, televisions etc.

At that time, it was an advanced concept for the green team.

But, it was good for internet programming.

Later, Netscape Navigator incorporated Java technology.

James Gosling


Currently, Java is used in internet programming/Web Programming

mobile devices Applications, games, e-business solutions etc.


Let's see the major points that describes the history of java.

  1. James GoslingMike Sheridan, and Patrick Naughton initiated the Java language project in June 1991.
  2. The small team of sun engineers called Green Team.
  3. Originally designed for small, embedded systems in electronic appliances like set-top boxes.
  4. Firstly, it was called "Greentalk" by James Gosling and file extension was .gt.
  5. After that, it was called Oak and was developed as a part of the Green project.


Next