Chapter 2: Introduction to Java
Content
------------------------------------------------------------------------------------------------------------------------------------------------------
1. Evolution to Java2. Types of Java Program
3. Machine Language
4. Assembly Language
5. High Level Language
6.Traditional Compilation Process
7. Java Compilation Process
8. Features of Java
------------------------------------------------------------------------------------------------------------------------------------------------------
Data Types - Definition1. Evolution to Java
Sun Microsystems (now owned by Oracle) in the mid-1990s introduces Java.
This object-oriented programming language was designed to be
platform-independent. It means that code written in Java can support a
wide range of devices & operating systems without modification.
2. Types of Java Program
There are two types of Java programs — Java Stand-Alone Applications and Java Applets. Java applets are Java applications that run within a web browser. They are mainly used for internet programming.
3. Machine Language
Machine code, also known as machine language, is the elemental language of computers.
It is read by the computer's central processing unit (CPU), is composed
of digital binary numbers and looks like a very long sequence of zeros
and ones.
4. Assembly Language
An assembly language is a type of low-level programming language that is intended to communicate directly with a computer's hardware.
Unlike machine language, which consists of binary and hexadecimal
characters, assembly languages are designed to be readable by humans.
5. High Level Language
A high-level language (H.L.L) is a
programming language, such as C, FORTRAN, or Pascal, that allows a
programmer to develop programs that are independent of the type of
machine they are running on. all these languages are classified as high-level because they are more comparable languages than machine
6.Traditional Compilation Process
In traditional compilation process, the machine language code generated by the compiler is specific to the platform for which the source code is compiled. The executable file generated for one platform like Windows will not work on other platforms like Macintosh.
7. Java Compilation Process
1. Evolution to Java
8. Features of Java
In traditional compilation process, the machine language code generated by the compiler is specific to the platform for which the source code is compiled. The executable file generated for one platform like Windows will not work on other platforms like Macintosh.
9. Evolution to Java
In traditional compilation process, the machine language code generated by the compiler is specific to the platform for which the source code is compiled. The executable file generated for one platform like Windows will not work on other platforms like Macintosh.
No comments:
Post a Comment