Thursday 8 November 2018

java

ජාවා කියන්නේ high level programming lanuage එකකි .develop කර තිබෙන්නේ sun Microsystems මගීන් .විශේෂයෙන්ම වෙබ් application නිර්මාණය සදහා බහුලව යොදා ගනී. බොහො විට ජාවා syntax , c ## lanuage එකේ syntax වලට බොහෝ සමාන වේ.නමුත් ජාවා object oriented programming lanuage එකකි . උදාහරණයක් විදියට බොහෝ ජාවා program වල classes,methods අඩංගු වෙනවා . class එකක් object එකක් විස්තර කිරීමට යොදා ගනී .method එකක් individual classes වලට assign කරනවා. 

ජාවා වල විශේෂත්වය තමයි c ## වලට වඩා strict lanuage එකක් විමයි.හේතුව vraiables ,functions explicitly define කරන්න ඔනී.ඒ කිව්වේ ජාවා source code එකට ලේසියෙන්ම errors ,exceptions produce කරන්න පුළුවන්.තවත් විශේෂ ලක්ෂණයක් වන්නේ windows executable (.EXE Files ),Macintosh Applications (.App files )වගේ නොව ජාවා operating system වල directly run නොවීමයි.ඒ වෙනුවට ජාවා programs interpretated කරන්නේ ජාවා virtual machine එහෙම නැත්තම් JVM හරහායි.ඒවා multiple ප්ලට්ෆෝර්ම් වල run වේ .ඒ කිවේ සියලුම ජාවා programs multiplatform වේ.

ඒ වගේම macintosh , unix ,windows වැනි multi platform වල run කිරීමටද හැකියාව ඇත .ඒ සදහා ජාවා application සදහා jvm , install කරගත යුතුය .ජාවා වල file extension වනුයේ.
  • .JAVA ,
  • .JAV ,
  • .JAD ,
  • .JAR ,
  • .JSP ,
  • .CLASS ය.
Java Features 
  • platform independent
  • object oriented
  • RobustDistributed
  • simple
  •  small
  • High performance
  • Portabe

0 comments:

Post a Comment