Inroduction to Java

Operating System Tips, Tricks and Hack which include Windows 10 and others, CentOS, Linux, MAC OS, iOS
Post Reply
User avatar
itslucky
Fun Addict
Fun Addict
Posts: 935
Joined: Jan 14, 2009
Location: UNITED KINGDOM

Inroduction to Java

Post by itslucky » Apr 24, 2009 Views: 5635

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.

ar
Ultimate Contributor
Ultimate Contributor
Posts: 6666
Joined: Feb 17, 2007
Location: Pakistan, Lahore
Contact:

Post by ar » Apr 25, 2009

Thanks For Info Brother

User avatar
itslucky
Fun Addict
Fun Addict
Posts: 935
Joined: Jan 14, 2009
Location: UNITED KINGDOM

Post by itslucky » Apr 25, 2009

u r welcome "ar".

if u have any query related to programming do post man...

ar
Ultimate Contributor
Ultimate Contributor
Posts: 6666
Joined: Feb 17, 2007
Location: Pakistan, Lahore
Contact:

Post by ar » Apr 25, 2009

No Yar..
Computer is not my field....
I don't know about Any Language
Only Html

User avatar
itslucky
Fun Addict
Fun Addict
Posts: 935
Joined: Jan 14, 2009
Location: UNITED KINGDOM

Post by itslucky » Apr 25, 2009

Don't worry "ar"... i also know about "HTML"... u can also ask me about that...

i'll be very happy to help u guys...

User avatar
ujala
Ultimate Contributor
Ultimate Contributor
Posts: 18532
Joined: Jan 31, 2009
Location: Islamabad
Contact:

Post by ujala » Apr 26, 2009

great post .......great n very Professional sharing ...thanks Lucky

User avatar
itslucky
Fun Addict
Fun Addict
Posts: 935
Joined: Jan 14, 2009
Location: UNITED KINGDOM

Post by itslucky » Apr 26, 2009

Thanx Dear "ujala"...

All above is directly from my own Notes....!!!

User avatar
Asif Javed
Fun Addict
Fun Addict
Posts: 517
Joined: Mar 09, 2009
Location: Multan

Post by Asif Javed » Apr 29, 2009

well "AR" html is not language [:d]

well carry on and try to learn some language

User avatar
itslucky
Fun Addict
Fun Addict
Posts: 935
Joined: Jan 14, 2009
Location: UNITED KINGDOM

Post by itslucky » Apr 29, 2009

Dear "Asif Javed"
Asif Javed wrote:well "AR" html is not language

HTML stands for= "HyperText Markup Language"

it is a language my dear...!!!

User avatar
Asif Javed
Fun Addict
Fun Addict
Posts: 517
Joined: Mar 09, 2009
Location: Multan

Post by Asif Javed » Apr 30, 2009

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

Post Reply

Return to “Operating System Tricks”