SlideShare a Scribd company logo
1 of 13
IUBAT- International University Of Business
Agriculture And Technology
Mid Term CSE
Presentation
Name: Md. Ashiqure Rahman
ID: 17105009
Program: BsEEE
1
2
Content
 What Is Java?
 Where Java is used?
 Types of JAVA Application ?
 First Program “Hello World”
 Class in JAVA
 Real Life example of Object and class
 Variables and Datatypes in JAVA
 DATA Types
3
What is java?
Java is a widely used programming language
expressly designed for use in
the distributed environment of the internet. It is
the most popular programming language for
Android smartphone applications and is among
the most favored for edge device and internet of
things development.
4
Where Java is used?
1. Desktop Applications such as acrobat reader, media player, antivirus etc.
2. Web Applications such as irctc.co.in, javatpoint.com etc.
3. Enterprise Applications such as banking applications.
4. Mobile
5. Embedded System
6. Smart Card
7. Robotics
8. Games etc
5
Types of JAVA Application
 There are mainly 4 type of applications that can be created using
java programming:
1- Standalone Application- Antivirus, Media Player etc.
2- Web Application- JSP, Servlets etc. used to make web application
3- Enterprise Application- JAVA EE at business tier
4- Mobile Application. Android and JAVA ME.
6
First Program “Hello World”
 1- open text editor and write first program
 2- Save it as Hello.java
 3- Open command prompt or terminal .
 4- Go to the file and to compile code write “javac Hello.java” command.
 5- to run “java Hello”.
7
class Hello {
public static void main (String args[])
{
System.out.println("Hello JAVA");
}
}
Class in JAVA
“class is the only logical entity.”
Class: Class is a blueprint which is containing only list of variables and method
and no memory is allocated for them. A class is a group of objects that has
common properties. A class in java contains:
1- Data Member
2- Method
3- Constructor
4- Block
5- Class
6- Interface
8
Real Life example of Object and class.
Class: vehicle
Object: car, bus, bike, truck are object
of vehicle class.
State: Color, Model, speed
Behavior: Travelling
Identity: unique number
9
Variables and Datatypes in JAVA
“Variable is a name of memory location or name of reserved area allocated in
memory.”
There are three types of variables in java
1- local variable 2- instance variable 3- static variable
10
A variable that is declared inside the method
is called local variable. A variable that is
declared inside the class but outside the
method is called instance variable . It is not
declared as static. A variable that is declared
as static is called static variable. It cannot be
local.
DATA Types
Basically two types of data type :
1. Primitive
2. Non-Primitive
11
Do You Have Any
Question
?
12
Thank You
13

More Related Content

What's hot (6)

Lecture18
Lecture18Lecture18
Lecture18
 
Object oriented programming c++
Object oriented programming c++Object oriented programming c++
Object oriented programming c++
 
Introduction to Java
Introduction to JavaIntroduction to Java
Introduction to Java
 
Usability Heuristics - IntelliJ IDEA
Usability Heuristics - IntelliJ IDEAUsability Heuristics - IntelliJ IDEA
Usability Heuristics - IntelliJ IDEA
 
Core java
Core javaCore java
Core java
 
java training in navi mumbai
 java training in navi mumbai  java training in navi mumbai
java training in navi mumbai
 

Viewers also liked (8)

Linux
LinuxLinux
Linux
 
Drug addiction
Drug addictionDrug addiction
Drug addiction
 
Dowry
DowryDowry
Dowry
 
Smuggling
SmugglingSmuggling
Smuggling
 
Instagram
InstagramInstagram
Instagram
 
The new seven wonders of the world
The new seven wonders of the worldThe new seven wonders of the world
The new seven wonders of the world
 
Green house effect
Green house effectGreen house effect
Green house effect
 
E waste presentation
E waste presentationE waste presentation
E waste presentation
 

Similar to Java

Similar to Java (20)

Java presentation
Java presentation Java presentation
Java presentation
 
A seminar report on core java
A  seminar report on core javaA  seminar report on core java
A seminar report on core java
 
Java programming material for beginners by Nithin, VVCE, Mysuru
Java programming material for beginners by Nithin, VVCE, MysuruJava programming material for beginners by Nithin, VVCE, Mysuru
Java programming material for beginners by Nithin, VVCE, Mysuru
 
1 .java basic
1 .java basic1 .java basic
1 .java basic
 
best java training center in chennai
best java training center in chennaibest java training center in chennai
best java training center in chennai
 
JAVA PROGRAMMING-Unit I - Final PPT.pptx
JAVA PROGRAMMING-Unit I - Final PPT.pptxJAVA PROGRAMMING-Unit I - Final PPT.pptx
JAVA PROGRAMMING-Unit I - Final PPT.pptx
 
Unit1 introduction to Java
Unit1 introduction to JavaUnit1 introduction to Java
Unit1 introduction to Java
 
core java
core javacore java
core java
 
java basic for begginers
java basic for begginersjava basic for begginers
java basic for begginers
 
Elements of Java Language
Elements of Java Language Elements of Java Language
Elements of Java Language
 
Classes and Objects
Classes and ObjectsClasses and Objects
Classes and Objects
 
Top 10 Important Core Java Interview questions and answers.pdf
Top 10 Important Core Java Interview questions and answers.pdfTop 10 Important Core Java Interview questions and answers.pdf
Top 10 Important Core Java Interview questions and answers.pdf
 
1.introduction to java
1.introduction to java1.introduction to java
1.introduction to java
 
Java
JavaJava
Java
 
Java introduction
Java introductionJava introduction
Java introduction
 
Introduction to java
Introduction to javaIntroduction to java
Introduction to java
 
Session 02 - Elements of Java Language
Session 02 - Elements of Java LanguageSession 02 - Elements of Java Language
Session 02 - Elements of Java Language
 
Java basic concept
Java basic conceptJava basic concept
Java basic concept
 
Synapse India Reviews
Synapse India ReviewsSynapse India Reviews
Synapse India Reviews
 
OOP with Java
OOP with JavaOOP with Java
OOP with Java
 

Recently uploaded

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Recently uploaded (20)

Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 

Java

  • 1. IUBAT- International University Of Business Agriculture And Technology Mid Term CSE Presentation Name: Md. Ashiqure Rahman ID: 17105009 Program: BsEEE 1
  • 2. 2
  • 3. Content  What Is Java?  Where Java is used?  Types of JAVA Application ?  First Program “Hello World”  Class in JAVA  Real Life example of Object and class  Variables and Datatypes in JAVA  DATA Types 3
  • 4. What is java? Java is a widely used programming language expressly designed for use in the distributed environment of the internet. It is the most popular programming language for Android smartphone applications and is among the most favored for edge device and internet of things development. 4
  • 5. Where Java is used? 1. Desktop Applications such as acrobat reader, media player, antivirus etc. 2. Web Applications such as irctc.co.in, javatpoint.com etc. 3. Enterprise Applications such as banking applications. 4. Mobile 5. Embedded System 6. Smart Card 7. Robotics 8. Games etc 5
  • 6. Types of JAVA Application  There are mainly 4 type of applications that can be created using java programming: 1- Standalone Application- Antivirus, Media Player etc. 2- Web Application- JSP, Servlets etc. used to make web application 3- Enterprise Application- JAVA EE at business tier 4- Mobile Application. Android and JAVA ME. 6
  • 7. First Program “Hello World”  1- open text editor and write first program  2- Save it as Hello.java  3- Open command prompt or terminal .  4- Go to the file and to compile code write “javac Hello.java” command.  5- to run “java Hello”. 7 class Hello { public static void main (String args[]) { System.out.println("Hello JAVA"); } }
  • 8. Class in JAVA “class is the only logical entity.” Class: Class is a blueprint which is containing only list of variables and method and no memory is allocated for them. A class is a group of objects that has common properties. A class in java contains: 1- Data Member 2- Method 3- Constructor 4- Block 5- Class 6- Interface 8
  • 9. Real Life example of Object and class. Class: vehicle Object: car, bus, bike, truck are object of vehicle class. State: Color, Model, speed Behavior: Travelling Identity: unique number 9
  • 10. Variables and Datatypes in JAVA “Variable is a name of memory location or name of reserved area allocated in memory.” There are three types of variables in java 1- local variable 2- instance variable 3- static variable 10 A variable that is declared inside the method is called local variable. A variable that is declared inside the class but outside the method is called instance variable . It is not declared as static. A variable that is declared as static is called static variable. It cannot be local.
  • 11. DATA Types Basically two types of data type : 1. Primitive 2. Non-Primitive 11
  • 12. Do You Have Any Question ? 12