Skip to main content

Page2 (Learning java)

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.
  • Basic concept of OOPs :-
  1. Object
  2. Class
  3. Inheritance
  4. Polymorphism
  5. Abstraction
  6. 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.

  1. Running Environment
  2. 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.

Comments

Post a Comment