Copyrights : Layout Galaxy All Rights Reserved No part of this tutorial may be reproduced, stored
in a retrieval system or transmitted in any form or by any means, electronic,
electrostatic, magnetic tape, mechanical or otherwise, without prior permission
in writing from Layout Galaxy.
> What is Java?
What is Java all about?
Programming with Java
Including Java Applets
on Your Web Pages
What is Java?
The Java Language
Java is a platform independent programming
language, from Sun Microsystems. Java provides a powerful
new set of tools, with which developers can create Internet
and non- Internet based applications. Java has more features
than any other programming language.
The Java Language
Java is an object-oriented programming language
(OOPS) similar to C++. Unlike C++, however, Java was designed
with one unique capability. Java was designed so that you
can write a program once and have it run on different computer
platforms. Java programs are complied into a special form
(called "bytecode"), which create cross-platform
Features of JAVA
Java is an Object Oriented
Java applications are portable
across multiple platforms.
Java applications are robust.
Since, Java run-time system manages memory for you.
Java run-time system has
built-in protection against viruses and tampering.
Java provides a highly
dynamic run time environment.
Java supports multi-threading concept.
A Java applet is a program that can be included
inside an HTML page. Much of Java's popularity has come because
of Java capable World Wide Web (WWW) browsers and their support
for applets. Applet is a small program that can reside in
a Web page and can be used to create dynamic, interactive
Web designs and it is used to extend capabilities of the web
browser. Applets are written in Java language and it can be
viewed in any browser that supports Java. Java applets are
more security-conscious than Java applications. There are
many restrictions on the behavior of applets. A Java applet
requires a browser or applet viewer to run.
import java.awt.*; import java.applet.*;
public class Firstapp extends Applet
public void paint(Graphics g)
s=getParameter("Employee Name"); String
Copyrights : Layout Galaxy All Rights Reserved No part of this tutorial may be reproduced, stored in a retrieval system or transmitted in any form or by any means, electronic, electrostatic, magnetic tape, mechanical or otherwise, without prior permission in writing from Layout Galaxy.
17, Vadsarvala Nivas, 65-A, J. Nehru Road, Mulund (W), Mumbai - 400 080 INDIA Tel : 91-22-21645588, 91-22-21640585 Fax : 91-22-21641545 Email : email@example.com