[go: up one dir, main page]

0% found this document useful (0 votes)
97 views15 pages

Java ITQG

Java is an object-oriented programming language that is used widely for both desktop and mobile applications as well as enterprise systems. It has several key features including being simple, object-oriented, distributed, architecture neutral, robust, interpreted and compiled, secure, and portable. Java programs are first compiled into bytecode, then interpreted by the Java Virtual Machine. Object-oriented programming concepts in Java include objects, classes, encapsulation, inheritance, polymorphism, and abstraction. Java handles memory management through automatic garbage collection.

Uploaded by

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

Java ITQG

Java is an object-oriented programming language that is used widely for both desktop and mobile applications as well as enterprise systems. It has several key features including being simple, object-oriented, distributed, architecture neutral, robust, interpreted and compiled, secure, and portable. Java programs are first compiled into bytecode, then interpreted by the Java Virtual Machine. Object-oriented programming concepts in Java include objects, classes, encapsulation, inheritance, polymorphism, and abstraction. Java handles memory management through automatic garbage collection.

Uploaded by

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

JAVA

IT Quality Group

Pavol Duplinsky
CONTENT
• What is Java ?
• Where is Java used ?
• Features of Java
• Java Program Translation
• What is OOP?
• Concepts of OOP
• Datatypes in Java
• Garbage Collection?
What is JAVA?

• Java is Object Oriented Programming language as well as


Platform.
• Java was developed by a team led by James Gosling at
Sun Microsystems.

• Java is a first programming language which provide the


concept of writing programs that can be executed using
the web.
WHERE IS JAVA
USED ?
According to the Sun , 3 billion devices run java. There
are many devices where Java is currently used.

• Desktop Applications - Acrobat reader, Media player,


Antiviruses etc.

• Web Applications

• Enterprise Application – Banking Application, Business


Application.

• Mobile.
• Embedded System.
• Games.
• Robotics.
FEATURES OF JAVA
• Java is Simple.

• Java is Object Oriented

• Java is Distributed

• Java is Architecture Neutral

• Java is Robust

• Java is Interpreted and Compiled

• Java is Secure

• Java is Portable

• Java is Multi-Threaded
JAVA PROGRAM
TRANSLATION
WHAT IS OOP?
Object-oriented programming is a method of implementation.

A language in which everything is represented in the form of


Object is called Object oriented Programming language

It not only make the program less complex but also makes the
software reusable and reliable.
CONCEPTS OF OOP
• Object

• Class

• Encapsulation

• Inheritance

• Polymorphism

• Abstraction
DATA TYPES IN JAVA
GARBAGE
COLLECTION
garbage collection (GC) is a form of automatic memory management.
The garbage collector, or just collector, attempts to reclaim garbage, or memory
occupied by objects that are no longer in use by the program.

– Garbage collection is mechanism that deallocates the memory of an object


when it is no longer referenced by a variable.
– In C++, the memory of an Object is released by use of delete operator.
– Java virtual machine determines when to free up the memory of an object.
HELLO WORLD
DATA TYPES
JAVA OPERATORS

You might also like