Features of Java

Posted by firstenquiry on August 1st, 2017

There is given many components of java  1.  Simple

 2.  Object-Oriented 

  1. Portable

 4.  Platform free 

  1. Secured

 6.  Robust 

  1. Architecture impartial

  8.Dynamic

 9.  Interpreted 

  1. High Performance

 11.       Multithreaded

 12.       Distributed  Basic

  As indicated by Sun, dialect is basic on the grounds that:  language structure depends on C++ (so simpler for software engineers to learn it after C++).  evacuated many befuddling as well as infrequently utilized elements e.g., unequivocal pointers, administrator over-burdening and so on.  No compelling reason to expel unreferenced objects on the grounds that there is Automatic Garbage Collection in java.  Question situated  Question situated means we sort out our product as a mix of various sorts of items that consolidates the two information and conduct.  Advanced JAVA Training Classes in Marathahalli Bangalore  Protest situated programming(OOPs) is a strategy that streamline programming advancement and support by giving a few guidelines.  Essential ideas of OOPs are: 

  1. Object 
  2. Class

 3.  Inheritance

 4.  Polymorphism

  5.Abstraction 

  1. Encapsulation 

Stage Independent  A stage is the equipment or programming condition in which a program runs.  There are two sorts of stages programming based and equipment based. Java gives programming based stage.  The Java stage varies from most different stages as in it is a product construct stage that keeps running in light of the highest point of other equipment based stages. It has two parts:

 1.  Runtime Environment 

  1. API(Application Programming Interface)  Java code can be keep running on different stages e.g. Windows, Linux, Sun Solaris, Mac/OS and so forth. Java code is gathered by the compiler and changed over into bytecode. This bytecode is a stage free code since it can be keep running on numerous stages i.e. Compose Once and Run Anywhere(WORA).  Secured  Is secured in light of the fact that:  •No unequivocal pointer  •       Java Programs keep running inside virtual machine sandbox  •       Classloader: includes security by isolating the bundle for the classes of the neighborhood document framework from those that are transported in from arrange sources.  •      Bytecode Verifier: checks the code pieces for illicit code that can abuse get to ideal to objects.  •Security Manager: figures out what assets a class can get to, for example, perusing and keeping in touch with the neighborhood plate.  These security are given by java dialect. Some security can likewise be given by application designer through SSL, JAAS, Cryptography and so forth.  Hearty  Hearty just means solid. Java utilizes solid memory administration. There are absence of pointers that keeps away from security issue. There is programmed junk gathering in java. There is special case taking care of and sort checking system in java. Every one of these focuses makes java strong.  Design impartial  There is no execution subordinate components e.g. size of primitive sorts is settled.  Convenient  We may convey the java bytecode to any stage.  Elite  Is speedier than conventional understanding since byte code is "close" to local code still to some degree slower than an arranged dialect (e.g., C++)  Dispersed  We can make dispersed applications in java. RMI and EJB are utilized for making appropriated applications. We may get to records by calling the strategies from any machine on the web.  Multi-strung  A string resembles a different program, executing simultaneously. We can compose Java programs that arrangement with many errands without a moment's delay by characterizing various strings. The fundamental preferred standpoint of multi-threading is that it doesn't involve memory for each string. It shares a typical memory region. Strings are essential for multi-media, Web applications and so on.  C++ versus Java  There are numerous distinctions and likenesses between C++ programming dialect and Java. A rundown of best contrasts amongst C++ and Java are given beneath:  Examination Index       C++       Java  Stage independent       C++ is stage dependent.   Is stage free.  Predominantly utilized for      C++ is essentially utilized for framework programming.Is basically utilized for application programming. It is generally utilized as a part of window, online, venture and portable applications.  Goto    C++ bolsters goto statement. doesn't bolster goto articulation.  Numerous inheritance      C++ underpins different inheritance.  doesn't bolster various legacy through class. It can be accomplished by interfaces in java.  Administrator Overloading     C++ bolsters administrator overloading.   doesn't bolster administrator over-burdening.  PointersC++ underpins pointers. You can compose pointer program in C++.       bolsters pointer inside. Be that as it may, you can't compose the pointer program in java. It implies java has confined pointer bolster in java.  Compiler and Interpreter       C++ utilizes compiler only.      utilizes compiler and translator both.  Call by Value and Call by reference  C++ underpins both call by esteem and call by reference. bolsters call by esteem as it were. There is no call by reference in java.  Structure and Union     C++ underpins structures and unions.       doesn't bolster structures and unions.  String Support     C++ doesn't have worked in help for strings. It depends on outsider libraries for string support.     has worked in string support.  Documentation comment  C++ doesn't bolster documentation comment.      underpins documentation remark (/** ... */) to make documentation for java source code.  Virtual Keyword      C++ bolsters virtual watchword with the goal that we can choose whether or not supersede a function.       has no virtual catchphrase. We can supersede all non-static strategies as a matter of course. As it were, non-static techniques are virtual naturally.  unsigned right move >>>   C++ doesn't bolster >>> operator.  Java underpins unsigned right move >>> administrator that fills zero at the best for the negative numbers. For positive numbers, it works same like >> administrator.  Legacy Tree    C++ makes another legacy tree always.     Java utilizes single legacy tree dependably on the grounds that all classes are the offspring of Object class in java. Question class is the foundation of legacy tree in java.  Contrast between strategy over-burdening and

Like it? Share it!


firstenquiry

About the Author

firstenquiry
Joined: July 25th, 2017
Articles Posted: 20

More by this author