C++ was designed for systems and applications programming,
extending the C programming language. To this procedural programming language designed
for efficient execution. Java is a statically typed object-oriented language that
uses similar (but incompatible) syntax to C++. Both are object oriented
programming languages. The following are the difference between c++ and java.
C++
|
Java
|
|
|
Parts of java
Sun Microsystems has divided java into 3 parts. They are
java SE, java EE, java ME.
Java SE: it is the java standard edition that contains basic
core java classes. This is the core Java programming platform. It contains all
of the libraries and APIs that any Java programmer should learn (java.lang,
java.io, java.math, java.net, java.util, etc...). This edition is used to
develop standard applets and applications.
Java EE: it is java enterprise edition and it contains
classes that are beyond java SE. we need
java SE in order to use many of the classes in java EE. it provides libraries
for database access (JDBC, JPA), remote method invocation (RMI), messaging
(JSM), web services, XML processing, and defines standard APIs for Enterprise
JavaBeans, servlets, portlets, JavaServer Pages, etc. This is used to develop
business applications.
Java ME: it stands for java micro edition. JavaME provides a
subset of the functionality of JavaSE, but also introduces libraries specific
to mobile devices. It is for developers who develop code for portable devices,
such as mobiles.
No comments:
Post a Comment