What Is Java?
Java is two things: a programming language and a platform.
The Java Programming Language
Java is a high-level programming language that is all of the following:
# Simple
# Architecture-neutral
# Object-oriented
# Portable
# Distributed
# High-performance
# Interpreted
# Multithreaded
# Robust
# Dynamic
# Secure
Java is also unusual in that each Java program is both compiled and interpreted. With a compiler, you translate a Java program into an intermediate language called Java bytecodes--the platform-independent codes interpreted by the Java interpreter. With an interpreter, each Java bytecode instruction is parsed and run on the computer. Compilation happens just once; interpretation occurs each time the program is executed. This figure illustrates how this works.
Java bytecodes help make "write once, run anywhere" possible. You can compile your Java program into bytecodes on any platform that has a Java compiler. The bytecodes can then be run on any implementation of the Java VM. For example, the same Java program can run on any Microsoft Windows XP,Vista,NT , Solaris, and Macintosh.
The Java Platform
A platform is the hardware or software environment in which a program runs. The Java platform differs from most other platforms in that it's a software-only platform that runs on top of other, hardware-based platforms. Most other platforms are described as a combination of hardware and operating system.
The Java platform has two components:
# The Java Virtual Machine (Java VM)
# The Java Application Programming Interface (Java API)
The Java API is a large collection of ready-made software components that provide many useful capabilities, such as graphical user interface (GUI) widgets.
Inroduction to Java
- itslucky
- Fun Addict
- Posts: 935
- Joined: Jan 14, 2009
- Location: UNITED KINGDOM
-
- Ultimate Contributor
- Posts: 6666
- Joined: Feb 17, 2007
- Location: Pakistan, Lahore
- Contact:
-
- Ultimate Contributor
- Posts: 6666
- Joined: Feb 17, 2007
- Location: Pakistan, Lahore
- Contact:
- ujala
- Ultimate Contributor
- Posts: 18532
- Joined: Jan 31, 2009
- Location: Islamabad
- Contact:
- Asif Javed
- Fun Addict
- Posts: 517
- Joined: Mar 09, 2009
- Location: Multan
- Asif Javed
- Fun Addict
- Posts: 517
- Joined: Mar 09, 2009
- Location: Multan
Lucky do u know how to define a language ... if u know then u should know HTML is language or not...
ok let me clear you HTML is use for formating so we simple called language but when we talking about language then this mean it has its own constructs like Selection, Iteration ETC.
do u know HTML has Iteration constructs ?
Hope you understand its not language
ok let me clear you HTML is use for formating so we simple called language but when we talking about language then this mean it has its own constructs like Selection, Iteration ETC.
do u know HTML has Iteration constructs ?
Hope you understand its not language