2 - Java Evolution & Features
2 - Java Evolution & Features
FEATURES
CHAPTER – 1I
HISTORY OF JAVA
• Java is a general-purpose, object-oriented
programming language developed by Sun
Microsystem of USA in 1991. James
Gosling
• Originally java was designed to develop
software for consumer electronic devices like
TVs, VCRs, toasters and other electronic
machines.
Java
Mascot
1. Java does not include the C unique statement keywords ‘sizeof’, and ‘typedef’.
2. Java does not contain the data types ‘struct’ and ‘union’.
3. Java does not define the type of modifiers keywords ‘auto’, ‘extern’, ‘register’, ‘signed’, and
‘unsigned’.
C++ has maintained backward compatibility with C. It is therefore possible to write an old-
style C program and run it successfully under C++. Java appears to be similar to C++ when
we consider only the ‘extension’ part of C++. However, some object-oriented features of C++
make the C++ code extremely difficult to follow and maintain.
javac
java jdb