1.2_Identifying Benefits Of Java Flashcards

1
Q

What does Object Oriented means?

A

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).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What does Encapsulation means?

A

(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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What does Platform Independence means?

A

“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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What does Robust means?

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What does Simple means?

A

Java was intended to be simpler to understand than C++. (No Pointers, No Operator Overloading)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What does Secure means?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What does MultiThreaded means?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What does Backward Compatibility means?

A

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)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly