Pages

What are the primary goals of java technology,Who will de allocate the memory in java,garbage collector,Java Runtime Environment

Q) What are the primary goals of java technology?
There are four primary goals of java technology
1.            Solve the problems with existing programming languages such as C and C++
                         I.    Security problem
                       II.    Memory leak
                      III.    Unable to handle run time errors
                      IV.    Unable to develop pure object oriented programs
2.            Write once and run anywhere( platform indecency or portability)
3.            Multithreading
4.            Dynamic loading

Q) Who will de allocate the memory in java?
Ans: Garbage collector

Q) What is garbage collector?
Ans: Garbage collector is a software tool that is used to de allocates memory that is not in use. Garbage collector is a part of Java runtime environment (JRE)

Q) What is Java Runtime Environment?
Ans: It is an Environment in which java programs are executed. JRE is a part of JDK.

Q) Will JVM available for all operating systems?

Yes JVM is available for all operating systems separately.