0% found this document useful (0 votes)
5 views

Java

The document discusses various programming languages, focusing primarily on Java and its features, such as object-oriented principles, encapsulation, inheritance, and polymorphism. It explains the Java Runtime Environment (JRE) and the significance of bytecode, which allows Java programs to run on any platform. Additionally, it covers naming conventions and the structure of Java programs, including packages and classes.

Uploaded by

tamilselvana777
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views

Java

The document discusses various programming languages, focusing primarily on Java and its features, such as object-oriented principles, encapsulation, inheritance, and polymorphism. It explains the Java Runtime Environment (JRE) and the significance of bytecode, which allows Java programs to run on any platform. Additionally, it covers naming conventions and the structure of Java programs, including packages and classes.

Uploaded by

tamilselvana777
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 11

3 Te AHcheele

Canenda
Mengodk:
Redds
NOSQL
Databa POstgusRL
BackendData saL
ce
o1a
SQL
Mo
MYsAL

Midd
TLeH. ,
c#, node)
TSleges.
ctt
dothet,
pHP,
atton
pplic
A Aoqth
,
Python
Ruby,
qo
Java,
Requut
htt
ps Res
po
ionality
)nd
(FAont INtagian.com
ell
can
|ogin
pwd cutUe
yHTMLfund
but

W.ww
UN
chnolg4 Te
Pwd r
Remem ess
’style

JAVAsO1pt
1s
React

Taluind
shap
BODt
Java
JAVa an

’tbje ct DHúnted
’ plattoAm ndeptndent
proqia mmin languages
p0q1am
egam a thabiutton (o)
PAR Ce D4 Code that ae ed to petfom a

y The Languag wwed to wnit this


pDqMam j callud poteqram ming Lanquage
eg C, c+t JaVa, python ete
y The p 0ga m Nbtón qiÀ
to the blalform
platfor m
-Platform Combunatsn
and 64 tula

pendnt i anguage.
inde
a platform the Tava
whleh means
platforns.wuth the
indount
pi oqam Enyóon munt IRE):
Java R uAtme
help +
sava RUntime Fnvionmnt
JRE Us a sp tial 8otuae Wh'ch i
JUwied eIt cuti the oava pogam
exEt the
mthout IRE tannot

TRE US plattorm dependentthat iu


ou d iSbunt , TRE . 404
undou
TRE eL0M Auhd
Linur dhat coan be JRE Án MACs
dikount
High e ved progammtng Language
A 10q1ammuhg Lanqua ge that cah bei
eaidy ead. w du. and indstand by's
Human ashL¡h devel
peqianming tanquage
obut oH çntat tbn

obiect
clanes concepa

Encapsul atton
inheitoan ce pinciplis
polymonphi,m
A bsiacton

ebje ct a phuy ud Entuy to) anyheng.


cnt ih al orldc will be coidend
an
obËoct has stat and bthaviow
dstatt

sth te o an bbfect desoÚbthg the

FhaviDwL
Behavown i duvhg about wos k dont
by the obiet

state - vaniabLa
Beh aviowt- meth ed
eq
nyhtra Aprlt'e atbn !
product thocd u),- bbËe ct
state
coloi, siz, bnand, e, abnc, As co unt
natngs
BehavibuH
buyt), add_to- eawt (), uihlit L),
shau t , Atke t)
Why 3ava
3t sunpu (ryntay is easy easy totD uhdoutand )
yebíect oHuhtd proqarmm ing Languaq loops)

st is etenible Langage
’ Robut (sthonq p1oqnamm ing lanquag ,
tannot, B tahed)i
zt Aas autmatit aabage. collect an:
anotes
clas
a doqtal enty te1) hlupinf
an bbyecd.
’elaw can ko be aso toruidvud ha

’objioct is a ual uorld erdy whch


is an aitan o4 the tlas
ceatd thot the
’ bbje ct cannot se
clan a law selloued
by the bbjet att b n s
m l e obiect hide
we can cu ate
6ame cls
uated by wsuhg a'
MWIipuobje cs
tondeud
rhqu elas i l ,be
n g . d tdaus
-’ bbj'e ct caced by
nlin obje ts.
ll net ee bnatduud ha

then it ill
uill not abse ct
duti oyed o1he
lays t
anothe obËe t
pm oqnammang danguage
bnammen o4 the
thneally called as oyn
tax.
KLyuosd
anbuld at a pat
pmoqmammin dahquagu
Fach Ktyurd hau it own meanung
Ogamming dangunge
ntht koyud mut be wnttun in
Ih JAVa ue have 53

patkage. publitp'vat4nd.
PA0Le ctud dejawlt
new; thú sta tc
tht loat dous e chailent
short boolean An
ND:
Java s a Cay si've Lanquag
zdentij wts.
The nameame wed to dintijy ithe ahy
JAVa
membu, dols. mth od vanl'aes

zdunti ws Re

. zdentt ws cnnet haue a gpau

eq: clas aluja bhat


. sdenti cannot have chatactu

clan tom clas Jesry cdl eus account s

3.Tdnues cannot be a sava


3aVa KLyupd.

elas publu das inal dos ava

4: Idhty wu can have anwmkuu but it should


not stats h the numbeUrg/h6

clas pshpa clas Kgt2 las23 das actourt


Namtng conventon o a elas (het
blt go0d atç)
- Tt should be Nouh
It shouà be sthgula
3. UPpU Camelcae
LOLLON Cameltau
Resove BankOt Ind i
4. AVoid -
Lonta ct Numhex
Compil
a spe al s04tuae Whuh wrd
to check the torreUns un the TAra prog tamn
Java C the nane o4 the complen
compile
as rs
3aVae
30va

-Ve
Java Pyte code
Denga. clas
In JaVa cbmpulaton aks tuo

1. The eompil ehe ek jo1 ynta clical


eYOn th the JaVa pDqam
214 hey ho uch then he
tompuat ton and the cormple
qeheiate the bytu ode
NOtt

not ru cesl then byt eode iwil net get


oehetatd
then tom pilei thyough batk he icmpd atton

Fytt code
y Byu code is an ahtomidue cedi wnitln
in ahtnediate language whrch ü net
htgh devl Jow evelanquage
ylaw s the extunim4Bytu lode
’ system cannot hdestand the Byte code
’It tan be ndtandas le byTR
TRE

JVM

WORA Achittctwu lrite onee Run anywhere )


dlax ping compln Dytelode
MAC

Javac

pinga
Java.
das

proqram byte cDde gentiated


’syte cece is ommom al he dißßunt
platfor m
The pl alfor m spe is Ú JRE dianslate the
maathine level danquage
lp1) platf9rm Nbuctten
conaidoud has tiaVa has platformiruhdipendent
We eannot er cute the 3aVa progtam,
bhly u can the Pyte code
as ten the e o m p u a t t n k s w s
JRE canhot uhdutand saVa program
hey ndostand enly pyte (ode

De vedo pnent tooletiistks


comp i l e . i

Javap

VM
JAPL

a kLhd o4 Ao4 tuau de lopmnt


to deeelop Às
twill as eL u l the Java proqram

needed de el oP the JaVa pogram


like complen, SRE ete
JRE (3ava Run Hme EnvMOn ment)
phys'tal in plementahon ot 3VM
JRE a
M is the spe ubléadtin
JRE

Libnanits.

T0 e the progr am preunt nyde he


have tose mport ota tonent

pa tkagu
joLdt a dvucdory o nelated
TAVa ogam
A patkaqe may have many sus packages

Lb1ay al the nbuild tava


po1o pui PaCka qe
based b1utu
eq!
tn port tile Ren den

3ava

Lang obje cf
o
fiUReadet.

You might also like