SlideShare a Scribd company logo
Introduction
Software
means computer instructions or dat
a. Anything that can
be stored electronically is software,
in contrast to storage devices and
display devices which are
called hardware.
system software
provides the basic non-
task-specific functions
of the computer
application software
which is used by users to
accomplish specific tasks.
Introduction to Java
Introduction to Java
Introduction to Java
Programming
the action or process of writing computer
programs.
Input
term denoting either an
entrance or changes which are
inserted into a system
process
a series of actions or steps
taken in order to achieve a
particular end
Output
To communicate
the results
Algorithm
a process or set of rules to be followed in calculations
or other problem-solving operations, especially by a
computer.
Data Types
A string is a sequence of characters, like "Hello world!".
A string can be any text inside quotes. You can use single or double quotes:
x = "Hello world!";
An integer is a number without decimals.
x = 5985;
Variables
Variables are "containers" for storing
information
Examples:
x=5
y=6
z=x+y
Assignment variable
Int x;
Declaration variable
X=1;
DATA Types
A floating point number is a number with a decimal point
x = 10.365;
Booleans can be either TRUE or FALSE.
x=true;
y=false;
DATA Type
The special NULL value represents that a variable has no value. NULL is the only possible value of
data type NULL.
x=null;
Activity
1. True
2. 5
3. 3.16
4. No
5. Hello world
6. One
7. “21”
8. 100.1
9. 17
10. 01
Introduction to Java
Arithmetic Operators
Operator Name Example Result
+ Addition $x + $y Sum of $x and $y
- Subtraction $x - $y Difference of $x and
$y
* Multiplication $x * $y Product of $x and $y
/ Division $x / $y Quotient of $x and $y
% Modulus $x % $y Remainder of $x
divided by $y
Comparison Operators
The PHP comparison
operators are used to compare two values (number or string):
Operator Name Example Result
== Equal $x == $y True if $x is equal to $y
=== Identical $x === $y True if $x is equal to $y, and they are of the same type
!= Not equal $x != $y True if $x is not equal to $y
<> Not equal $x <> $y True if $x is not equal to $y
!== Not identical $x !== $y True if $x is not equal to $y, or they are not of the same type
> Greater than $x > $y True if $x is greater than $y
< Less than $x < $y True if $x is less than $y
>= Greater than or equal
to
$x >= $y True if $x is greater than or equal to $y
<= Less than or equal to $x <= $y True if $x is less than or equal to $y

More Related Content

PPTX
Variables
PPT
PHP - DataType,Variable,Constant,Operators,Array,Include and require
PPTX
Php introduction
PPTX
Php mysql classes in navi-mumbai,php-mysql course provider-in-navi-mumbai,bes...
PPTX
Data types in php
PPTX
Chapter 4.2
PPTX
Mysql Aggregate
 
PDF
Value objects
Variables
PHP - DataType,Variable,Constant,Operators,Array,Include and require
Php introduction
Php mysql classes in navi-mumbai,php-mysql course provider-in-navi-mumbai,bes...
Data types in php
Chapter 4.2
Mysql Aggregate
 
Value objects

What's hot (20)

PPTX
Php 101 by David Menendez
 
PPT
Introduction to perl_lists
ODP
Php variables (english)
DOCX
mysql ....question and answer by muhammed thanveer melayi
PDF
Variables in PHP
POTX
Introduction to php 3
PDF
Web app development_php_04
PPTX
Chap1introppt2php(finally done)
PPTX
PHP Basics
PPTX
Structures in c
PDF
Effective PHP. Part 5
PPTX
Java script functions
PPTX
Perl names values and variables
PDF
Effective PHP. Part 6
PPTX
basics of php
PDF
Effective PHP. Part 3
PDF
Some OOP paradigms & SOLID
PPS
Web technology html5 php_mysql
PPTX
Getting functional with elixir
PDF
DB API Usage - How to write DBAL compliant code
Php 101 by David Menendez
 
Introduction to perl_lists
Php variables (english)
mysql ....question and answer by muhammed thanveer melayi
Variables in PHP
Introduction to php 3
Web app development_php_04
Chap1introppt2php(finally done)
PHP Basics
Structures in c
Effective PHP. Part 5
Java script functions
Perl names values and variables
Effective PHP. Part 6
basics of php
Effective PHP. Part 3
Some OOP paradigms & SOLID
Web technology html5 php_mysql
Getting functional with elixir
DB API Usage - How to write DBAL compliant code
Ad

Viewers also liked (19)

PPTX
Falls after tka
PPT
IgM enriched polyclonal antibody therapy in patients with septic shock
PPT
Management post cardiac arrest (2014)
PPT
THE GANGES
PDF
Guldasta - A Word of Faith
DOC
CV OF MOHAMMAD ALI.doc-01
PPT
Photography essentials 07 lighting
PPTX
Women empowerment
PPTX
Ratio analysis
PPTX
Petroleum industries
PDF
Realpay Campaign Flyer
PDF
grosir reseller jilbab motif amithamz
PDF
Emily Kerr
PDF
Emily Kerr
PPTX
Diving
PPSX
EMGOLDEX Presentation
PDF
Tamil-English Document Translation Using Statistical Machine Translation Appr...
PPT
Tbi presentation for 11 jan14 copy
PPTX
Voodoo
Falls after tka
IgM enriched polyclonal antibody therapy in patients with septic shock
Management post cardiac arrest (2014)
THE GANGES
Guldasta - A Word of Faith
CV OF MOHAMMAD ALI.doc-01
Photography essentials 07 lighting
Women empowerment
Ratio analysis
Petroleum industries
Realpay Campaign Flyer
grosir reseller jilbab motif amithamz
Emily Kerr
Emily Kerr
Diving
EMGOLDEX Presentation
Tamil-English Document Translation Using Statistical Machine Translation Appr...
Tbi presentation for 11 jan14 copy
Voodoo
Ad

Similar to Introduction to Java (20)

PPT
Introduction To Programming
PPTX
PHP PPT.pptxPHP PPT.pptxPHP PPT.pptxPHP n
PPTX
Operators php
PPTX
PHP PPT.pptxPHP PPT.pptxPHP PPT.pptxPHP n
ODP
OpenGurukul : Language : PHP
PPTX
PHP Basics
PPSX
Algorithms, Structure Charts, Corrective and adaptive.ppsx
PPTX
Learn PHP Basics
PPT
Php Chapter 1 Training
PDF
Programming with php
PPSX
Php using variables-operators
PPTX
Php
PPTX
ChapterTwoandThreefnfgncvdjhgjshgjdlahgjlhglj.pptx
PDF
Introduction to programming by MUFIX Commnity
PDF
Introduction To Programming (2009 2010)
PPTX
Php + my sql
PPTX
Php basics
PPTX
Python.pptx
PDF
Operators in PHP
PDF
JavaScript Notes đŸ”„.pdfssssssssssssssssssssssssssssssssssssssssss
Introduction To Programming
PHP PPT.pptxPHP PPT.pptxPHP PPT.pptxPHP n
Operators php
PHP PPT.pptxPHP PPT.pptxPHP PPT.pptxPHP n
OpenGurukul : Language : PHP
PHP Basics
Algorithms, Structure Charts, Corrective and adaptive.ppsx
Learn PHP Basics
Php Chapter 1 Training
Programming with php
Php using variables-operators
Php
ChapterTwoandThreefnfgncvdjhgjshgjdlahgjlhglj.pptx
Introduction to programming by MUFIX Commnity
Introduction To Programming (2009 2010)
Php + my sql
Php basics
Python.pptx
Operators in PHP
JavaScript Notes đŸ”„.pdfssssssssssssssssssssssssssssssssssssssssss

Recently uploaded (20)

PDF
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
PDF
How Creative Agencies Leverage Project Management Software.pdf
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
PPTX
Transform Your Business with a Software ERP System
PDF
wealthsignaloriginal-com-DS-text-... (1).pdf
PPTX
Operating system designcfffgfgggggggvggggggggg
PPTX
Introduction to Artificial Intelligence
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PDF
System and Network Administration Chapter 2
PDF
Softaken Excel to vCard Converter Software.pdf
PPTX
Reimagine Home Health with the Power of Agentic AI​
PDF
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
PPTX
history of c programming in notes for students .pptx
PDF
medical staffing services at VALiNTRY
PPTX
L1 - Introduction to python Backend.pptx
PDF
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
Odoo Companies in India – Driving Business Transformation.pdf
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
How Creative Agencies Leverage Project Management Software.pdf
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
2025 Textile ERP Trends: SAP, Odoo & Oracle
Transform Your Business with a Software ERP System
wealthsignaloriginal-com-DS-text-... (1).pdf
Operating system designcfffgfgggggggvggggggggg
Introduction to Artificial Intelligence
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
System and Network Administration Chapter 2
Softaken Excel to vCard Converter Software.pdf
Reimagine Home Health with the Power of Agentic AI​
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
history of c programming in notes for students .pptx
medical staffing services at VALiNTRY
L1 - Introduction to python Backend.pptx
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
Internet Downloader Manager (IDM) Crack 6.42 Build 41

Introduction to Java

  • 2. Software means computer instructions or dat a. Anything that can be stored electronically is software, in contrast to storage devices and display devices which are called hardware.
  • 3. system software provides the basic non- task-specific functions of the computer
  • 4. application software which is used by users to accomplish specific tasks.
  • 8. Programming the action or process of writing computer programs.
  • 9. Input term denoting either an entrance or changes which are inserted into a system
  • 10. process a series of actions or steps taken in order to achieve a particular end
  • 12. Algorithm a process or set of rules to be followed in calculations or other problem-solving operations, especially by a computer.
  • 13. Data Types A string is a sequence of characters, like "Hello world!". A string can be any text inside quotes. You can use single or double quotes: x = "Hello world!"; An integer is a number without decimals. x = 5985;
  • 14. Variables Variables are "containers" for storing information Examples: x=5 y=6 z=x+y
  • 16. DATA Types A floating point number is a number with a decimal point x = 10.365; Booleans can be either TRUE or FALSE. x=true; y=false;
  • 17. DATA Type The special NULL value represents that a variable has no value. NULL is the only possible value of data type NULL. x=null;
  • 18. Activity 1. True 2. 5 3. 3.16 4. No 5. Hello world 6. One 7. “21” 8. 100.1 9. 17 10. 01
  • 20. Arithmetic Operators Operator Name Example Result + Addition $x + $y Sum of $x and $y - Subtraction $x - $y Difference of $x and $y * Multiplication $x * $y Product of $x and $y / Division $x / $y Quotient of $x and $y % Modulus $x % $y Remainder of $x divided by $y
  • 21. Comparison Operators The PHP comparison operators are used to compare two values (number or string): Operator Name Example Result == Equal $x == $y True if $x is equal to $y === Identical $x === $y True if $x is equal to $y, and they are of the same type != Not equal $x != $y True if $x is not equal to $y <> Not equal $x <> $y True if $x is not equal to $y !== Not identical $x !== $y True if $x is not equal to $y, or they are not of the same type > Greater than $x > $y True if $x is greater than $y < Less than $x < $y True if $x is less than $y >= Greater than or equal to $x >= $y True if $x is greater than or equal to $y <= Less than or equal to $x <= $y True if $x is less than or equal to $y