Skip to main content
Object - Oriented
- Object-oriented means we organize our software as a combination of different type of object that incorporates both data and behavior.
- Object oriented programming (OOPs) is a methodology that simplify software development and maintenance by providing some rules.
- Object
- Class
- Inheritance
- Polymorphism
- Abstraction
- Encapsulation
Platform-Independent
- A platform is the hardware and software environment in which a program runs. There are two types of platform software-based and hardware-based. Java provide software-based platform.
- The java platform differ from most other platform in the sense that is a software-based platform that runs on the top of other hardware based platforms. Its has two components.
- Running Environment
- API (Application programming interface)
- Java code can be run on multiple platform. Eg., windows,Linux, Sun Solaris, Mac/os ETC.
- Java code is compiled by the compiler and converted into byte-code. This byte-code is a platform-independent code because it can be run on multiple platform i.e., "Write_Once_And_Run_Anywhere (WORA)".
Secured
Java is secured because:
- No explicit pointer
- Java programs run inside virtual machine sandbox
Class-Loader
- Adds security by separating the package for the classes of the local file system from those that are imported form network sources.
Bytecode - Verifier
- Checks the code fragments for illegal code that can violate access right to object.
Security Manager
- Determines whats resources a class can access such as reading and writing to the local disk.
- These security are provided by java language some security can also be provided by application developer through SSL, Cryptography etc.
Robust
- Robust simple means strong.
- Java uses strong memory management.
- There are lack of pointers that avoids security problem.
- There is automatic garbage collection in java.
- There is exception handling and type checking mechanism in java
All these points makes java robust.
Useful info
ReplyDeleteUseful info
ReplyDelete👍
ReplyDeleteNice
ReplyDelete