Java Programming Made Notes
Java Programming Made Notes
Java Programming Made Notes
If I investigate I got to know that the flora has send the message request to
flower arrangement .
The flowe arrangement then send the message to the delivery boy
Earlier the florist has obtained the flower form the wholesaler he send a
different message
The wholesaler has to send the message to the flower grower
Flower grower has to manage gardeners where he need to send different
message to his team
NOTE:- The programmer will generally write every thing not to use the
service of others
Responsibilities
The fundamental concept of the oop is to describe the
behaviour in terms of the responsibilities.
In terms of sloving my problemI(flower to my friend )in terms
of responsibilities whrere the we increase the level of
abstraction .this will increase the greater independent (using
the free pusure any technique that desired the desired
objective)between the objects and solving the different
complex problems.
The entire collection of responsibilities associated with an
object is often described by the terms of the protocol.
The actual syllabus of the exam
Java buzz words/features :-
1)simple:-java is inherits all the best features of the
programming languages like the c and c++.so It will be
easy to learn who know certain language.
a. The concept of java was not developed by the
java but it was adopted by the java team.
b.programming notation of the java is not different
from the programming languages like c and c++ which
makes the developers have little trouble to learn.
2)secure:-
i) the source code will not directly instruct the
machine instead the JVM(Java virtual
machine)which reads only the(Byte code) and
coverts the bytecode in to machine instruction .
ii) The illegal acesss of the system will not be
allowed by the (JVM).allowing only the java
program to execute the java fully secure.
3)Portable:-the java o portable because we can run the
program on any platform.
There is no dependency on the hardware or the operating
system(software).
4)oop:-oops is influence from the previous successors
programming languages languages like c and c++.
The programmers not only looked for the features but they
are looked for the performance wise then they added the
concepts which can increase the performance.
The concepts of the oop are :-
I. Encapsulation
II. Polymorphism
III. inheritance
5)ROBUST:- the features that make it robust are:-
I. platform independent
II. oop
III. memory management
IV. exception handling
platform independent:- where we can write the
java code in any operating system and we can run
on any operating system
oops:-helps to break the complex code in to the
easy to understand objects and manage high
complexity programs and not code machine
dependent coding.
Memory management:-in traditional programming
languages like c,c++ the user has to manage the
memory by allocating and deallocating memory
which leads to the leaks in the program ,but in java
memory management is taken care by the jvm .the
allocation and the clean of the memory is done
automatically
Exception handling:-The java programmers are
forced to handle the exception during the
development time and all the possible errors are
encountered during the compilation program.this
way when the exception happens during the run
time there is proper exception handling mechanism
already coded in the program.