SIMPLE
Java is a simple programming language. Because all the difficult concepts of C and C++ have been omitted in java. For example, the concept of pointers - which is very difficult for both learners and programmers has been completely eliminated in java. Further, java soft (the team which developed java) people maintained the same syntax of C and C++ in java, so that a programmer who knows C and C++ will find java familiar.
PORTABILITY
If a program yields the same result on every machine, then that program is called portable. Java programs are portable. This is the result of java's system independence nature.
DISTRIBUTED
Information is distributed on various computers in a network. Using Java, we can write programs, which capture information and distribute it to the client. This is possible with java because, java can handle the protocols like TCP / IP and UDP.
HIGH PERFORMANCE
The problem with the interpreter inside the JVM is that it is slow. Because of this, java programs run slow. To overcome this problem, along with the interpreter, javasoft people has introduced JIT (Just in Time) compiler, which enhances the speed of execution. So, now in JVM, both interpreter and JIT compiler works together to run the program.
ROBUST
Robust means strong. Java programs are strong and they don't crash easily like a C or C++ program. There are two reasons for this. Firstly, java has got an excellent inbuilt Exception Handling feature. An exception is an unwanted (or) unexpected problem that occurs at run time. If an exception occurs, the program terminates abruptly giving rise to problems like loss of data. Overcoming such problems is called Exception Handling. This means that even though an exception occurs in a Java program, no harm will happen.
Another reason, why java is robust is because its memory lies in its management feature. Most of the C and C++ programs crash in the middle, because of its insufficient memory allocation or forgetting the memory to be freed in a program. Such problems will not occur in java because the user need not allocate or deallocate the memory in java, everything will be taken care by the JVM. For example, JVM will allocate the necessary memory needed by a java program.
SECURE
Security problems like eaves dropping, tampering, impersonation, and virus threats can be eliminated or minimized by using java on internet.
STATIC LOADING
The concept of allocating the memory (in the RAM) and loading the functionalities to the RAM before the program execution (or) before the function call is made is known as static loading. Static loading increases the overhead on the operating system. All the structured programming language programs work on the concept of static loading.
DYNAMIC LOADING
The concept of allocating the memory space (in the RAM) and loading the functionalities to the RAM dynamically, at the runtime, when the program is under execution and when a function call is made is known as dynamic loading.
Note : java works on the concept of dynamic loading
OBJECT-ORIENTED
If any programming language is called as Object-Oriented then it must represent the data in the form of Objects. Java is called as Object Oriented programming because java represents data in the form of objects (inside the class only). The main advantage of Object Oriented programming language is to provide Reusability, Flexibility and Security. The Object Oriented Programming language must satisfy the Object Oriented principles such as - class, object, inheritance, polymorphism, encapsulation, abstraction.
PLATFORM DEPENDENCY
An application that is compiled in one operating system, not capable of running in different operating systems is called platform dependent application. The programming language that is used to develop this application is called platform dependent programming language. C, C++ programming languages are platform dependent programming languages, because their program compiled code does not run in different operating systems.
PLATFORM INDEPENDENT
When an application's compiled code is able to run in different operating system then that application is called platform independent application. The programming language that is used to develop this application is called platform independent programming language. Java is a platform independent programming language, because java program compiled code can run in all operating systems.
The problem with the interpreter inside the JVM is that it is slow. Because of this, java programs run slow. To overcome this problem, along with the interpreter, javasoft people has introduced JIT (Just in Time) compiler, which enhances the speed of execution. So, now in JVM, both interpreter and JIT compiler works together to run the program.
ROBUST
Robust means strong. Java programs are strong and they don't crash easily like a C or C++ program. There are two reasons for this. Firstly, java has got an excellent inbuilt Exception Handling feature. An exception is an unwanted (or) unexpected problem that occurs at run time. If an exception occurs, the program terminates abruptly giving rise to problems like loss of data. Overcoming such problems is called Exception Handling. This means that even though an exception occurs in a Java program, no harm will happen.
Another reason, why java is robust is because its memory lies in its management feature. Most of the C and C++ programs crash in the middle, because of its insufficient memory allocation or forgetting the memory to be freed in a program. Such problems will not occur in java because the user need not allocate or deallocate the memory in java, everything will be taken care by the JVM. For example, JVM will allocate the necessary memory needed by a java program.
SECURE
Security problems like eaves dropping, tampering, impersonation, and virus threats can be eliminated or minimized by using java on internet.
STATIC LOADING
The concept of allocating the memory (in the RAM) and loading the functionalities to the RAM before the program execution (or) before the function call is made is known as static loading. Static loading increases the overhead on the operating system. All the structured programming language programs work on the concept of static loading.
DYNAMIC LOADING
The concept of allocating the memory space (in the RAM) and loading the functionalities to the RAM dynamically, at the runtime, when the program is under execution and when a function call is made is known as dynamic loading.
Note : java works on the concept of dynamic loading
OBJECT-ORIENTED
If any programming language is called as Object-Oriented then it must represent the data in the form of Objects. Java is called as Object Oriented programming because java represents data in the form of objects (inside the class only). The main advantage of Object Oriented programming language is to provide Reusability, Flexibility and Security. The Object Oriented Programming language must satisfy the Object Oriented principles such as - class, object, inheritance, polymorphism, encapsulation, abstraction.
PLATFORM DEPENDENCY
An application that is compiled in one operating system, not capable of running in different operating systems is called platform dependent application. The programming language that is used to develop this application is called platform dependent programming language. C, C++ programming languages are platform dependent programming languages, because their program compiled code does not run in different operating systems.
PLATFORM INDEPENDENT
When an application's compiled code is able to run in different operating system then that application is called platform independent application. The programming language that is used to develop this application is called platform independent programming language. Java is a platform independent programming language, because java program compiled code can run in all operating systems.
No comments:
Post a Comment