0% found this document useful (0 votes)
2 views

1 Introduction_to_Java

Java is a high-level programming language developed by James Gosling at Sun Microsystems, designed for portability, speed, and reliability. It supports applets and stand-alone applications, and features include being object-oriented, platform-independent, and multithreaded. The Java development environment includes various tools and a program cycle involving source code creation, compilation to byte code, and execution via an interpreter.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

1 Introduction_to_Java

Java is a high-level programming language developed by James Gosling at Sun Microsystems, designed for portability, speed, and reliability. It supports applets and stand-alone applications, and features include being object-oriented, platform-independent, and multithreaded. The Java development environment includes various tools and a program cycle involving source code creation, compilation to byte code, and execution via an interpreter.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 9

INTRODUCTION TO JAVA

❑ What is Java?
❑ The Java Story
❑ Java Technology
❑ Features of Java
❑ Java Requirements
❑ Java Development Environment
❑ Applets and Applications
❑ Java Program Cycle
WHAT IS JAVA?

Java
is a high-level programming language developed at Sun Microsystems by James
Gosling
can be used to write applets (small applications running inside other applications
hence the diminutive suffix 'let') but is not the only language that can produce applets
THE JAVA STORY
Java was developed at Sun Microsystems, Inc. (Sun) by James Gosling.
The language needed to be small, fast, reliable, and portable
(hardware independent).
With the goals it had achieved (smallness, speed, reliability,
portability), Java was discovered to be ideal for web pages.
Java can also be used to write stand-alone applications.
FEATURES OF JAVA
Object-Oriented
Portable and Platform-Independent
Dynamically Linked
Multithreaded
Garbage Collected
JAVA DEVELOPMENT
ENVIRONMENT
Java Development Kit (JDK) directories
j2sdk1.4.0

bin demo docs include jre lib


JAVA DEVELOPMENT
ENVIRONMENT
Command-line Interface
JAVA DEVELOPMENT
ENVIRONMENT
Other Java programming environments:
Symantec Visual Café
Microsoft J++
Borland JBuilder
IBM VisualAge for Java
Sun Java Forte
Java 2 SDK 1.4.2 FCS
Jcreator
BlueJ
APPLETS AND APPLICATIONS
Applet
special applications designed to run within the context of a Web browser

Application
stand-alone program that does not need a browser to run
JAVA PROGRAM CYCLE
Create source code (.java file)
Compile source code according to JVM to produce byte code (.class
file)
Execute byte code using using an interpreter

Source Compile Byte Interpre


Output
Code r Code ter

You might also like