Java 2
Java 2
C++ Java
----- ------
It is developed by Bjarne Stroustrup. It is developed by James Gosling.
It contains three types of loops i.e It contains four types of loops i.e
do while loop, while loop and for loop. do while loop, while loop, for loop
and for each loop.
.Net Java
----------- --------
It is a product of Microsoft. It is a product of Oracle Corporation.
2) Object oriented
3) Platform independent
4) Portable
5) Highly secured
6) Architecture Neutral
7) Robust
8) Multithreaded
9) Dynamic
10) Distributed
and etc.
Garbage collector
1) System.gc()
2) Runtime.getRuntime().gc()
Q) What is package?
Package is a collection of classes and interfaces.