Thursday, 1 July 2021

Introduction Of Java || Learn java (part-1)

 

Introduction of Java Programming:-

 What is Java:- 

             Java is Simple, Object Oriented, Robust, Secured, Dynamic, Distributed, Automatically garbage collected, Compiled and Interpreted, Platform Independent language used for internet programming.


Feature's of Java:- 

1.             Object Oriented

2.             Simple

3.              Robust

4.              Secured

5.             Dynamic

6.             Distributed

7.             Automatically garbage collected

8.             Platform Independent language

 

Explanation of Java Feature

Object Oriented

 Java is Object Oriented Language.

 It provides us programming environment where we can create objects and can perform operations on them.



Simple

It is easy to learn.

It is based on c and C++.

It removes all complicated features of c and  CPP such as pointers,  operator overloading, multiple inheritance, dynamic linking etc.

 Robust

 Strong type checking mechanism of Java helps in making Java Robust.

Java also has feature of Automatic memory management and garbage collection.

System crashing bugs, are very rare in Java.

 Secured

 Java's security model protect users from hostile programs downloaded from some un trusted resource within a network through "sandbox".

It allows all the Java programs to run inside the sandbox only and prevents many activities from un trusted resources such as reading or writing to the local disk, accessing network.



Dynamic


Some topics that are dynamic in java are

    1.   Dynamic polymorphism

 

Compiler doesn’t understand which method to called in advance.

jvm decide which method to called at run time.

2.   Dynamic memory allocation

 

 All Java objects are dynamically allocated.  

 

Distributed

 Java is a distributed language which means that the program can be design to run on computer networks.

To design such applications Java provides an extensive library of classes for communication and technology such as RMI.



  Automatically garbage collected

In java, garbage means unreferenced objects.

 Garbage Collection is process of reclaiming the runtime unused memory automatically. In other words, it is a way to destroy the unused objects.



 Platform Independent language





 

  THANK YOU.......

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

2 comments:

What is ladder if || Java Ladder if statement.

 Ladder if statement If a if statement is used within an else statement then such a control structure is called as ladder if statement. Synt...