0% found this document useful (0 votes)
3 views3 pages

SL IX Computer App Introduction To Java

Java is an Object-Oriented programming language developed by Sun Microsystems, known for its simplicity, robustness, security, and platform independence. It supports various types of programs including applets, standalone applications, servlets, and Enterprise Java Beans. Java's unique compilation process converts source code into platform-independent bytecode, enabling the 'Write Once, Run Anywhere' (WORA) capability.

Uploaded by

aaravsutariya440
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views3 pages

SL IX Computer App Introduction To Java

Java is an Object-Oriented programming language developed by Sun Microsystems, known for its simplicity, robustness, security, and platform independence. It supports various types of programs including applets, standalone applications, servlets, and Enterprise Java Beans. Java's unique compilation process converts source code into platform-independent bytecode, enabling the 'Write Once, Run Anywhere' (WORA) capability.

Uploaded by

aaravsutariya440
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Std IX Ch.

2 Introduction to Java

JAVA LANGUAGE OVERVIEW:

Java gained popularity after the internet started having dynamic web pages added with user
interactivity.

Java is an Object-Oriented programming language developed by Sun Microsystems.

Java is programming language, a runtime system, a set of development tools, and an


Application-Programming Interface.

Types of Java Programs :

There are four types of program that can be developed using the Java technology.

1. Applets (API) : Applets are small programs that remain embedded in a Web page and
runs on the user’s machine in secured manner by Java compatible browsers.

2. Stand alone applications : It does not depend on Browser it requires only JVM to run.
A stand-alone Java application refers to a Java program that can run independently on
a computer.
3. Servlets :
4. Enterprise Java Beans (EJB)

Features of Java Language / Characteristics of Java Language:

Apart from OOP features java has its own features which makes it very popular programming
language:

1. Simple : ava is very easy to learn, and its syntax is simple, clean and easy to
understand. Java has removed many complicated and rarely-used features, for
example, explicit pointers, operator overloading, etc.

There is no need to remove unreferenced objects because there is an Automatic


Garbage Collection in Java.

2. Robust : Java is Robust means strong.

It uses strong memory management.

There is a lack of pointers that avoids security problems.

3. Secure Language : Java is best known for its security. With Java, we can
develop virus-free systems. Java is secured because:
No explicit pointer, Java Programs run inside a virtual machine sandbox

4. Platform Independent : A platform is the hardware and software environment


(Combination of Hardware and Operating System) . Java is platform independent,
change of platform does not affect the original java program/application.

5. Object Oriented : Java is an object-oriented programming language. Everything in


Java is an object. Object-oriented means we organize our software as a combination
of different types of objects that incorporate both data and behaviour.

6. Portable : Java is portable because it facilitates you to carry the Java bytecode to any
platform. It doesn't require any implementation.

What are Source Codes ?

Source code is the program or set of instructions written by the user.

What are Byte Codes?

Bytes codes are converted source codes using UNICODE (2 byte coding system) by JAVA
compiler.

These byte codes remains same for all platforms.

Write a Short note on JVM.


How Java Compilation is different from normal compilation?
Explain WORA(Write Once Run Anywhere ) property of java.
In the ordinary compilation process the source code is compiled directly into the machine
code which is platform dependent which means we can only execute that machine code on
the machine on which it is written.

Java Comes along with its own set of Compiler and Interpreter.

In the Java compilation process the source code is first converted in byte code which is
platform independent which means it can be executed on any machine and then the byte code
is converted into locally executable machine code by the Java Interpreter ( JVM )

Thus Java codes can Compiled Once and Run Anywhere.

You might also like