0% found this document useful (0 votes)
40 views9 pages

C++ ppt

Java is a widely used object-oriented programming language developed by James Gosling in the early 1990s, designed for digital devices and emphasizing portability and security. It is based on C and C++ but differs significantly in its structure and features, such as not supporting explicit pointers and lacking a preprocessor. Java's key characteristics include being simple, dynamic, secure, and platform-independent, making it suitable for web applications.

Uploaded by

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

C++ ppt

Java is a widely used object-oriented programming language developed by James Gosling in the early 1990s, designed for digital devices and emphasizing portability and security. It is based on C and C++ but differs significantly in its structure and features, such as not supporting explicit pointers and lacking a preprocessor. Java's key characteristics include being simple, dynamic, secure, and platform-independent, making it suitable for web applications.

Uploaded by

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

INTRODUCTION OF

JAVA
Name:- Aftaz Hussain
MUR2101173
Course:-Btech (CSE)
Sem:- 4th
Subject:- C++
Definition

 Java is a widely used object-oriented programming language and


software platform that runs on billions of devices, including notebook
computers, mobile devices, gaming consoles, medical devices and
many others. The rules and syntax of Java are based on the C and C+
+ languages.
HISTORY OF JAVA
Java is an Object-Oriented programming language developed by James
Gosling in the early 1990s. The team initiated this project to develop a
language for digital devices such as set-top boxes, television, etc.
Originally C++ was considered to be used in the project but the idea was
rejected for several reasons(For instance C++ required more memory).
Gosling endeavoured to alter and expand C++ however before long
surrendered that for making another stage called Green. James Gosling
and his team called their project “Greentalk” and its file extension
was .gt and later became to known as “OAK”.
Why Java Is Important

• Two reason:
1: Trouble with C/C++ language is that they are not portable and are
not platform independent language.
Emergence of worldwide web,which demanded portable programs
2: Portability and security necessitated
What is Java?

• A general-purpose object-oriented language.


• Write Once Run Anywhere (WORA).
• Designed for easy Web/Internet applications.
• Widespread acceptance
How is Java different from C
 Major difference is that C is a structure oriented language
 Java is an object oriented language and has mechanism to define
classes and objects.
 Java does not support an explicit pointer type.
 Java does not have preprocessor, so we cannot use #define,
#include
 Java does not include keyboard like goto, sizeof and typedef.
 Java adds labeled break and continue statements
Characteristics of Java

• Java is simple
• Java is object-oriented
• Java is distributed
• Java is dynamic
• Java is secure
• Java is interpreted
• Java is portable
THANK YOU

You might also like