Understanding the Object-Oriented Paradigm: A Comprehensive Guide
Table of Content:
Java Characteristics
- Simple
- Secure
- Portable
- Object-oriented
- Robust
- Multithreaded
- Architecture-neutral
- Interpreted
- High performance
- Distributed
- Dynamic
Simple:
Java was designed to be easy for the programmer to acquire knowledge and use effectively. if you are an experienced C and programmer, moving to Java will require very little effort. learning Java will be even more comfortable.
Object-Oriented:
Java is an object-oriented programming language that uses Object-Oriented concept as well as abstraction, encapsulation, inheritance, and polymorphism to provide great flexibility, modularity, and reusability in developing software.In java programming language, everything is an object.
Robust:
Java is a full-featured, general-purpose programming language that can be used to develop robust mission-critical applications. To give multiplatform environment for the execution of the program must reliabl in a variety of systems. for that ability to create robust programs was given a high priority in the design of Java. To gain reliability, Java eliminate programming errors by emphasizing mainly on compile time error checking and runtime checking.
Multithreaded:
Multithreading can make your program more responsive and interactive, as well as enhance performance. Java solve the real-world requirement of creating interactive, networked programs. For Java's multithreaded feature, it is possible to write programs execute many programs simultaneously in processor.
Architecture-Neutral
Java compiler(javac) generates an architecture-neutral object file format(byte code), which makes the compiled code(byte code) executable on many processors, with the presence of Java runtime Environment(JRE).The bytecode is similar to machine instructions but is architecture neutral and can run on any platform that has a Java Virtual Machine (JVM). Goal of java is: "write once; run any where, any time, forever."
Interpreted
Java enables the creation of cross-platform(architecture-neutral) programs by compiling into an intermediate representation called Java bytecode. Java bytecode can run on a variety of hardware platforms and operating systems. Java source code is compiled into Java bytecode and Java bytecode is interpreted by the JVM (Java Virtual Machine).
High Performance
Java bytecode is easy to translate directly into native machine code for very high performance by using a just in time compilation.
Distributed
it designed to create distributed applications (distributed environment) accessed by customers and partners across the Internet.
Dynamic
This makes it possible to dynamically link code in a safe and expedient manner. Java is more dynamic compare to C or C++.Java is now very popular for developing dynamic applications on Web servers.