What is the design goal of the Java language?

What will be an ideal response?


The design goal of the Java language is to pick a subset that contains all the advantages of object-oriented programming but eliminate the error-prone parts of the C++ language that exist due to the fact that C++ is based on the C programming language. Features such as pointer arithmetic, the ability to access memory outside of a bounded data structure, such as array, complex scheme of multiple inheritance, and so on are gone. Features now added to Java are automatic reclamation of unreferenced memory and the automatic checking of illegal array offsets. Using both object-oriented concepts and a modern memory-management model have had a positive impact on Java security.

Computer Science & Information Technology

You might also like to view...

The rules for communication between devices are called ________

A) queues B) protocols C) packets D) stacks

Computer Science & Information Technology

In the worst case, the height of an AVL tree with n nodes is approximately ____.

A. (1.44)logn B. (1.44)nlogn C. (1.44)log2n D. (1.44)logn2

Computer Science & Information Technology

Which statement is false?

a) To ensure that the operands are of the same type, C# performs implicit conversion on selected operands. b) Cast operators are unary operators. c) Cast operators associate from right to left and are one level lower than the multiplicative operators. d) Cast operators are formed by placing parentheses around the name of a type.

Computer Science & Information Technology

Which of the following statements is false?

a. The concepts of icons, menus and windows were originally developed by Xerox PARC. b. Windows is an open source operating system. c. The software that contains the core components of the operating system is called the kernel. d. Linux source code is available to the public for examination and modification.

Computer Science & Information Technology