Why should we choose java :- 

Why java ->

-> In the world of cyber space two different types of data are moving, i.e.
1. Passive data.
2. Active data.
-> For any programming we need to provide it in the text format , which we call it a Passive data.
-> After compilation we send it to a concept called server.
-> where it processed and the response is generated as an active information, which goes to the browser to display.
-> Where focus the above activities is the best for internet language, and java is one of them follow by Asp ,Asp. Net, PHP, etc.( Hyper Test Processor)
         Abc ------> web server--------> hello World

-> In java every predefined has first and middle digit is capital, and every predefined word is a camel shape , like parseInt() ,toString() . 

Why should we choose java
Why should we choose java


What is the Advantage of Java :-

1. Simple.
2. Platform independent.
3. Portable.
4. Robust.
5. Manage memory management well.
6. Secure.
7. Distributive.
8. Multithreading.
9. Java is Architectural neutral.

1. Java is simple :-

-> It is simple, like English language, And also it is easy to understand.

2. Java is platform independent :-

->Java is a platform independent language because of after successfully compilation of java source code it generate  .class extension file , As a programmer we can take the .class file and run it on any platform or operating system it will run , that make java as a platform independent language.
->Also java follows WORA(Write Once Run Anywhere) concept.
-> When we writing a Java Programming, it is written in text format and it is saved as a java file. After compilation, it is converted to class file, which is combination of byte code & it has a packing concept which decide. how many 0/1 to be present in the package.
Then it went for interpretation and machine understood the core expending language. 
JDK 1.5 (Java development kit) ->
 Source programming --->java c ---bytecode--> JVM -----> native code.
-> JVM should Present corresponding operating system.

3. Portable :-  

   Following changes which cannot be harm's java's performance with regarding to WORA.
(1). Change with respect to operating system.
(2). Change with respect to any machine configuration.
(3). Change with respect to any service.
(4). Change with respect to any database activities.
-> cross compiler (changing machine configuration from intel to motherboard) 

                                                                     

4. Java manages memory management well :- 

  When we are writing a program (20,000 lines of code) to lot of initialization has to be done.
-> Lot of object creation has to be done after the work is over, it is the responsibility of programmer to write corresponding code to clear the allocated memory object.
-> In java it is instant garbage collection get up in its specified time if we want to call that garbage collection executively then we have to used the corresponding method and the corresponding packages.

5. Multithreading :-

   Out of a process, we can general as many sub process and we can assigned the job to different sub process, the different sub process called thread . JVM use multithreading , multiple thread handle multiple task simultaneously.

6. Robust :-

     Java programs are strongly and they don't crash easily like c and C++ due to its inbuilt exception handling and memory management feature.

7. Distributive :-

-> Using Java we can write program's which capture information and distribute it to the client in the Network. 

-> This is possible due to Java support and handles the Protocols like TCP/JP.

8. Secure :- 

 -> When we write any java program's, we save it as java file.
 -> After compilation is convert to class file.
 -> Class file is a combination of byte code.
-> After the class files are created then comes the roll of Java runtime system, who checked necessary.
-> After java runtime system get activated, then it called class loader (1st chamber) who checks for any Trojan horse application.
-> After the chamber job is over then it has to go to second chamber in the name byte code verifier who cracks too of the following.


1. When ever a program is combining with other program then we found our data types has been changes then it is the roll of BCV(Byte Code Verifier) to present such type of virus program.
2. Same is the situation we found that not able to create an object any more it is because of BVC(Byte Code Verifier), if we found no virus is present then we make an object.
-> whenever you like, where ever you like this chamber job is over now it is ready to be interpreted.
 -> This specification says we are having two type of files.
           1. By the user.
           2. By the Java API.
 1. It is specified that Java API class files has to leaded first and our class file has to be loaded next.
-> If any virus present, try to change this specification can't change because of class Loader.
2. After class Loader clear this then it is goes to the next chamber in the name BCV (Byte Code Verifier) where it is being checked. 
3. As Java does not support paints concept, so playing misplaying with the address space is not Possible.

for more detail follow my Instagram id - https://www.instagram.com/asitmaharana10/

Thank you.