Sunteți pe pagina 1din 4

(http://www.studytonight.

com/)

CORE JAVA

SEETHEINDEX

Features of Java
TheprimereasonbehindcreationofJavawastobringportabilityandsecurityfeatureintoacomputerlanguage.Besidethesetwomajorfeatures,there
weremanyotherfeaturesthatplayedanimportantroleinmouldingoutthefinalformofthisoutstandinglanguage.Thosefeaturesare:

1) Simple

Javaiseasytolearnanditssyntaxisquitesimple,cleanandeasytounderstand.TheconfusingandambiguousconceptsofC++areeitherleftoutinJava
ortheyhavebeenreimplementedinacleanerway.

Eg:PointersandOperatorOverloadingarenotthereinjavabutwereanimportantpartofC++.

2) Object Oriented

InjavaeverythingisObjectwhichhassomedataandbehaviour.JavacanbeeasilyextendedasitisbasedonObjectModel.

3) Robust

Javamakesanefforttoeliminateerrorpronecodesbyemphasizingmainlyoncompiletimeerrorcheckingandruntimechecking.Butthemainareaswhich
JavaimprovedwereMemoryManagementandmishandledExceptionsbyintroducingautomaticGarbageCollectorandExceptionHandling.

4) Platform Independent

UnlikeotherprogramminglanguagessuchasC,C++etcwhicharecompiledintoplatformspecificmachines.Javaisguaranteedtobewriteonce,run
anywherelanguage.

OncompilationJavaprogramiscompiledintobytecode.Thisbytecodeisplatformindependentandcanberunonanymachine,plusthisbytecodeformat
alsoprovidesecurity.AnymachinewithJavaRuntimeEnvironmentcanrunJavaPrograms.

5) Secure

Whenitcomestosecurity,Javaisalwaysthefirstchoice.Withjavasecurefeaturesitenableustodevelopvirusfree,temperfreesystem.Javaprogram
alwaysrunsinJavaruntimeenvironmentwithalmostnullinteractionwithsystemOS,henceitismoresecure.

6) Multi Threading
Javamultithreadingfeaturemakesitpossibletowriteprogramthatcandomanytaskssimultaneously.Benefitofmultithreadingisthatitutilizessame
memoryandotherresourcestoexecutemultiplethreadsatthesametime,likeWhiletyping,grammaticalerrorsarecheckedalong.

7) Architectural Neutral

Compilergeneratesbytecodes,whichhavenothingtodowithaparticularcomputerarchitecture,henceaJavaprogramiseasytointrepretonanymachine.

8) Portable

JavaBytecodecanbecarriedtoanyplatform.Noimplementationdependentfeatures.Everythingrelatedtostorageispredefined,example:sizeof
primitivedatatypes

9) High Performance

Javaisaninterpretedlanguage,soitwillneverbeasfastasacompiledlanguagelikeCorC++.But,Javaenableshighperformancewiththeuseofjustin
timecompiler.

New Features of JAVA 8


BelowmentionedaresomeofthecoreupgradesdoneasapartofJava8release.Justgothroughthemquickly,wewillexplorethemindetailslater.

EnhancedProductivitybyprovidingOptionalClassesfeature,LamdaExpressions,Streamsetc.

EaseofUse

ImprovedPolyglotprogramming.APolyglotisaprogramorscript,writteninaformwhichisvalidinmultipleprogramminglanguagesanditperforms

thesameoperationsinmultipleprogramminglanguages.SoJavanowsupportssuchtypeofprogrammingtechnique.

ImprovedSecurityandperformance.

Prev(overviewofjava.php) Next(settingclasspathforjava.php)

S-ar putea să vă placă și