Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
18 views

java ppt

The document provides an introduction to Java as an object-oriented programming language developed by James Gosling in the early 1990s. It highlights Java's importance due to its portability and security, differentiates it from C/C++, and outlines its characteristics, advantages, and disadvantages. The course aims to cover essential computer science concepts for creating modern software applications using Java.

Uploaded by

Aftaz Hussain
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views

java ppt

The document provides an introduction to Java as an object-oriented programming language developed by James Gosling in the early 1990s. It highlights Java's importance due to its portability and security, differentiates it from C/C++, and outlines its characteristics, advantages, and disadvantages. The course aims to cover essential computer science concepts for creating modern software applications using Java.

Uploaded by

Aftaz Hussain
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 12

MEWAR UNIVERSITY, CHITTORGARH

NAME :-Aftaz Hussain


ENROLLMENT NO:MUR2101173
COURSE :B.TECH (CSE)
YEAR : 3RD year(5th semester)
Introduction of Java

 Welcome to the course Object


Oriented Programing in Java. This
Course will cover a core set of
computer science concepts needed
to create a modern software
application using java
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
Advantage of java

 Java is open source.


 Java is community driven.
 Java is fast and high-performance.
 Java is easy to learn.
 Java is statically typed.
 Java has expert leadership.
 Java feature addition is fast.
 Java is object-oriented.
Disadvantage of Java

 Performance
Java programs take much longer time to run compared to C/C++.
 Memory
Since Java Programs run on top of Java Virtual Machine, it consumes more
memory.
 Cost
Since memory and processing requirements higher, hardware cost increases.
 Low level programming
There is no support for low level programming in Java, like pointers are
missing.
 Garbage collection
There is no control over garbage collection in Java. That is programmer does
not have any right to control the garbage collection. Java does not provide
functions like delete(), free().
THANK YOU

You might also like