CPP Vs JAVA PDF
CPP Vs JAVA PDF
JAVA
1) But in java pointers are omitted
because of security reasons . With the
help of pointers we are able to access
the address outside the program code
and data area thats why pointers are
not included in java
2) In java there is no concept of
structure and union because all can
be done with the help of classes
JAVA
1) But in java 2 or more programs can
be executed concurrently which is
unique to java and java runtime
system provides the thread class to
implement the concept of
multithreading
2) Package is the main feature of java
which are used to store the files
under one directly.
3) In java interfaces are used to
declare and define the related class
which can be implemented by the
other classes.
4) But in java there is no concept of
standard libraries only the classes
define in the interfaces are used.
5) In java break and continue
statements are extended in levels
that can be used as targets . It is use
to transfer the control back with in
the loop
JAVA
be caught.