---------java program -----------
java is developed by James Gosling at sun microsystem in may 1995 . later it
acquired(Sampādin̄ cāru) by oracle cooperation .
java is mainly class based and object oriented program
once you write a code, its run in any platform
java code is compiled to byte code and its run on java virtual machine(JVM)
key features of java
[Link] independent:
first source code converted into byte code by JDM . Each operating
system has different JVMs but all OS execute same output from byte code.
[Link] oriented program :
its based on class and objects
the four major concepts are
[Link]:
it means hiding a internal implementations and only shows
functionality to the user.
and word interface means outside a remote is called interface
and class is tv
ex: it as buttons and we change the volume , channel . but we don't
know inside how it works . This is the abstraction
2. Encapsulation :
it means wrapping(chuttadam) data and methods to operating a data
into single unit. it provides a security and flexible
*methods private (key word) --it makes a data private and not use in
outer class and getter makes to access private data
setter makes update private data
java program execution
[Link]
[Link]
IDE means integrated development Envirnment
JDK means java development kit