What is Java

Benefits of JAVA

1.       Simple

2.       Secure

3.       Portable

4.       Object oriented: Encapsulation, Inheritance, Polymorphism

5.       Robust (strong/sturdy)

6.       Multithreading

7.       Architecture neutral

8.       Interpreted

9.       High performance

10.   Distributed

11.   Dynamic (lively/energetic)

LANGUGAGES:

  1. PROCEDURAL:
  2. STRUCTURED: Has loops , functions
  3. OOL: java s completely an ool.

NOTE:

·         DOT NET: write a program any language & easily convertible..

·         FUNCTIONS: r known as methods n java

STRUCTURED PROGRAMMING SUMMARY

          Sequence structure

        “built-in” to Java

          Selection structure

        if, if/else and switch

          Repetition structure

        while, do/while and for