1.2_Identifying Benefits Of Java Flashcards
What does Object Oriented means?
The object-oriented approach, focuses on objects that represent abstract or concrete things in the real world. Those objects are first defined by their characteristics and their properties, which are represented by their internal structure and their attributes (data). The behavior of these objects is described by methods (functions).
What does Encapsulation means?
(Hiding information)
Every object has an interface, which determines how other objects can interact with it. The implementation of the object is encapsulated, that is, protected outside the object itself. Java supports access modifiers to protect data from unintended access and modification.
What does Platform Independence means?
“write once, run everywhere.”
Software that can be run on a variety of hardware platforms or software architectures.
Java is an interpreted language that gets compiled to bytecode, then the JVM interprets that bytecode accordingly to the OS.
What does Robust means?
Robustness is the capacity of a computer system to handle the errors during execution and manage the incorrect input of data.
Java is robust because it prevents memory leaks, manages memory on its own and does garbage collection automatically
What does Simple means?
Java was intended to be simpler to understand than C++. (No Pointers, No Operator Overloading)
What does Secure means?
Java is secure due to the following reasons: Java programs run inside a virtual machine which is known as a sandbox. Java does not support explicit pointer. Byte-code verifier checks the code fragments for illegal code that can violate access right to object.
What does MultiThreaded means?
Multithreading is a Java feature that allows concurrent execution of two or more parts of a program for maximum utilization of CPU.
Java is designed to allow multiple pieces of code to run at the same time.
What does Backward Compatibility means?
Backward compatibility (also known as downward compatibility) refers to a hardware or software system that can successfully use interfaces and data from earlier versions of the system. (This doesn’t always occur but you’re advice via its @Deprecated annotation)