Advantages And Disadvantages Of Java

2548 Words11 Pages
The programming language that is designed for network programming is java. The core API consists of classes and interfaces for java that provides uniform access to a various set of network protocols. The intonation of java has continued, as the internet and network programming has advanced. For the network programmer of java, novel APIs and toolkit have New APIs and toolkit have extended the available options.
Java is not only a programming language, but also it provides an environment for executing programs written in java language. The java compiler translates java source code into instructions that are interpreted by the runtime Java Virtual Machine, unlike traditional compilers, which converts source code into machine level instructions.
…show more content…
The applets are automatically downloaded and executed when such codes are encountered in the browser.

Java Virtual Machine:
The java codes must be written in java virtual machine (JVM). All java codes are needed to be compiled in this imaginary virtual machine. Platform independence is ensured by Writing the code and compilation in JVM.

 Java is Robust:
Even under most susceptible conditions the java programs are not likely to fail, and those programs are called Robust Programs .C language does not have this feature ,in type checking and programming errors they remain as does not allow automatic typecasting and it is very strict about type declaration. To overcome the problems like memory overwriting and corruption of data it uses pointer model.

 Java is secure:
Java allows creation of virus-free, tamper free systems. It guarantees security in the following ways.
• Removal of Pointers and memory allocations in compile time.
• Verification of all byte codes prior to execution by the interpreter.
• All java applets are considered as entrusted code executing in trusted
Get Access