Benefits of Java

There are many benefits to using Java over other programming languages. Here is a list of some of the benefits.

-Java is easier to use

-Java has less bugs than C (C has on average 1 bug per 55 lines of code. Java has much less)

-Java has a large class library

-Java has automatic memory allocation and deallocation (memory is allocated as needed, both on stack and heap, and reclaimed by the garbage collector when it is no longer needed)

-Java eliminates C functions malloc( ) and free( ) (makes it easier for the programmer because they don't have to worry about memory allocation and deallocation)

-Java is Object Oriented