REGISTER FREE to Receive Instant Job

Friday, 7 November 2014

Basic Concept of Core Java and OOP in Java

Basic Concept of Core Java
Java is an object oriented, inherent programming language.

  • Its main features are:-
  • Platform Independence
  •  Security

OOP’s
It is a programming model that simplifies software development and maintenance by providing certain rules which are followed by the designer at the time of designing the software and by the developers at the time of developing and maintaining the software.
The major advantage of this model is that we have habituated this model in our day to day life.
Basic concepts of OOP’s

  • Object
  • Classification
  • Generalization & Inheritance
  • Polymorphism
  • Data Encapsulation

Object:-
An object is a discrete (distinct/unique/different) entity that has well-defined attributes and behavior. It can be a physical thing as well as an abstract thing.
Classification:-
Objects with common attributes, common behavior and having common relationship with other objects are grouped into logical units called classes. This process is called classification.
Classes are used to manage objects.
Generalization & Inheritance:-
Through generalization we pick up common attributes and behavior of class. In this way we manage the class by using it.
Generalization is the way to achieve abstraction.
Polymorphism:-
It is a natural phenomenon which states that in real life one thing can exists in different forms. E.g. - Water can be in three forms.
Data Encapsulation (To protect something):-
It is a process by which we can encapsulate the data and this way we are protecting the data.
Internet Programming:-
Internet Programming is the facility of developing such programs which are stored on the web server and are sent to the client machine as part of the response to be executed within client’s browser.
Internet Programming adds interactivity to the web pages.
NOTE:
Evolutionary
Revolutionary
To create something new (better or advanced) modifying the existing thing.
To create purely new thing without modifying any existing thing.


Compilation is of 2 types:
OS specific compilation.
Architecture specific compilation.
 Processor has its own instruction set.
Compiler’s job is to convert one instruction into another.
JVM Specification
A language is platform independent if it does not have any dependency on the operating system.
Usually dependency on the O/S is created:-
At the time of development by invoking O/S library functions from the application,
At the time of compilation by following O/S specific format in compiled code, and
At the time of execution by using the O/S for launching the application.
That is, a Language is platform independent if:-
It is compiled in a platform mutual manner.
Language provides its own run – time environment for the execution of its application.
Language provides a comprehensive library for the application developers to develop all types of application without using the O/S concern.

{
                Members definition
}

1 comment:

Popular Posts

Powered by Blogger.

About Me

My photo

JobsAcid is a 'job search engine' to provide finding a job on the internet easier for the user. It has designed as huge selection of job offerings on the same search engine.