SlideShare a Scribd company logo
Pseudocode standards
• Programs begin with the word start and end with the word stop; these two words
are always aligned
• Whenever a module name is used, it is followed by a set of parentheses
• Modules begin with the module name and end with return. The module name
and return are always aligned
• Each program statement performs one action—for example, input, processing, or
output
• Program statements are indented a few spaces more than the word start or the
module name
• Each program statement appears on a single line if possible. When this is not
possible, continuation lines are indented
• Program statements begin with lowercase letters
• No punctuation is used to end statements
Structure used in Java
• Sequence
• Selection
• Loop
Selection statement in Java
• If statement
• If-else statement
• Switch statement
Create your own data types
Pseudocode
What’s wrong?
Simple Coding
for (int x = 1; x < 10; x++)
System.out.print(x + "t");
Rewrite the above code to display odd numbers
Rewrite the above code to display even numbers
Array (1D, 2D)
• Int [] ages = new int[10];
or
• int[] ages = {1,2,3,4,5,6,7,8,9,10};
double [][] Temperature = new double [10][5];
Give examples
header, method body, parameter, method return type and return
statement.
• Write a program that calculates and displays the annual increment for
a House for the next 10 years, asking for two inputs: a starting price
(e.g. $500,000), and the yearly increment rate (e.g. 3%).
public static double calculate(double price, double rate)
{ return s + (s * r)/100; }
}
default constructors and non-default
constructor ??
Exercise
• Student database
• Default constructor: Name: ”not entered”, Id: “not entered”
• Employee database

More Related Content

What's hot

Introduction to Excel VBA/Macros
Introduction to Excel VBA/MacrosIntroduction to Excel VBA/Macros
Introduction to Excel VBA/Macros
arttan2001
 
Building Comfort with MATLAB
Building Comfort with MATLABBuilding Comfort with MATLAB
Building Comfort with MATLAB
SERC at Carleton College
 
Vba part 1
Vba part 1Vba part 1
Vba part 1
Morteza Noshad
 
Class template
Class templateClass template
Class template
Kousalya M
 
Lambdas
LambdasLambdas
Lambdas
malliksunkara
 
E learning excel vba programming lesson 3
E learning excel vba programming  lesson 3E learning excel vba programming  lesson 3
E learning excel vba programming lesson 3
Vijay Perepa
 
Week 2: Getting Your Hands Dirty – Part 2
Week 2: Getting Your Hands Dirty – Part 2Week 2: Getting Your Hands Dirty – Part 2
Week 2: Getting Your Hands Dirty – Part 2
Jamshid Hashimi
 
Week 1: Getting Your Hands Dirty - Part 1
Week 1: Getting Your Hands Dirty - Part 1Week 1: Getting Your Hands Dirty - Part 1
Week 1: Getting Your Hands Dirty - Part 1
Jamshid Hashimi
 
Design Patterns - Abstract Factory Pattern
Design Patterns - Abstract Factory PatternDesign Patterns - Abstract Factory Pattern
Design Patterns - Abstract Factory Pattern
Mudasir Qazi
 
Online Advance Excel & VBA Training in India
 Online Advance Excel & VBA Training in India Online Advance Excel & VBA Training in India
Online Advance Excel & VBA Training in India
ibinstitute0
 
Excel VBA programming basics
Excel VBA programming basicsExcel VBA programming basics
Excel VBA programming basics
Hang Dong
 
Presentation on adapter pattern
Presentation on adapter patternPresentation on adapter pattern
Presentation on adapter pattern
Tanim Ahmed
 
Decision statements in vb.net
Decision statements in vb.netDecision statements in vb.net
Decision statements in vb.net
ilakkiya
 
Intro to Excel VBA Programming
Intro to Excel VBA ProgrammingIntro to Excel VBA Programming
Intro to Excel VBA Programming
iveytechnologyclub
 
Cis 355 i lab 1 of 6
Cis 355 i lab 1 of 6Cis 355 i lab 1 of 6
Cis 355 i lab 1 of 6
solutionjug4
 
9781439035665 ppt ch07_passing_primitivetypeasobjects
9781439035665 ppt ch07_passing_primitivetypeasobjects9781439035665 ppt ch07_passing_primitivetypeasobjects
9781439035665 ppt ch07_passing_primitivetypeasobjects
Terry Yoast
 
Robust and declarative machine learning pipelines for predictive buying at Ba...
Robust and declarative machine learning pipelines for predictive buying at Ba...Robust and declarative machine learning pipelines for predictive buying at Ba...
Robust and declarative machine learning pipelines for predictive buying at Ba...
Gianmario Spacagna
 
Intro to programing with java-lecture 3
Intro to programing with java-lecture 3Intro to programing with java-lecture 3
Intro to programing with java-lecture 3
Mohamed Essam
 
Final keyword
Final keywordFinal keyword
Final keyword
Namrata_Thakare
 
Last line effect
Last line effectLast line effect
Last line effect
Amjath Sharief
 

What's hot (20)

Introduction to Excel VBA/Macros
Introduction to Excel VBA/MacrosIntroduction to Excel VBA/Macros
Introduction to Excel VBA/Macros
 
Building Comfort with MATLAB
Building Comfort with MATLABBuilding Comfort with MATLAB
Building Comfort with MATLAB
 
Vba part 1
Vba part 1Vba part 1
Vba part 1
 
Class template
Class templateClass template
Class template
 
Lambdas
LambdasLambdas
Lambdas
 
E learning excel vba programming lesson 3
E learning excel vba programming  lesson 3E learning excel vba programming  lesson 3
E learning excel vba programming lesson 3
 
Week 2: Getting Your Hands Dirty – Part 2
Week 2: Getting Your Hands Dirty – Part 2Week 2: Getting Your Hands Dirty – Part 2
Week 2: Getting Your Hands Dirty – Part 2
 
Week 1: Getting Your Hands Dirty - Part 1
Week 1: Getting Your Hands Dirty - Part 1Week 1: Getting Your Hands Dirty - Part 1
Week 1: Getting Your Hands Dirty - Part 1
 
Design Patterns - Abstract Factory Pattern
Design Patterns - Abstract Factory PatternDesign Patterns - Abstract Factory Pattern
Design Patterns - Abstract Factory Pattern
 
Online Advance Excel & VBA Training in India
 Online Advance Excel & VBA Training in India Online Advance Excel & VBA Training in India
Online Advance Excel & VBA Training in India
 
Excel VBA programming basics
Excel VBA programming basicsExcel VBA programming basics
Excel VBA programming basics
 
Presentation on adapter pattern
Presentation on adapter patternPresentation on adapter pattern
Presentation on adapter pattern
 
Decision statements in vb.net
Decision statements in vb.netDecision statements in vb.net
Decision statements in vb.net
 
Intro to Excel VBA Programming
Intro to Excel VBA ProgrammingIntro to Excel VBA Programming
Intro to Excel VBA Programming
 
Cis 355 i lab 1 of 6
Cis 355 i lab 1 of 6Cis 355 i lab 1 of 6
Cis 355 i lab 1 of 6
 
9781439035665 ppt ch07_passing_primitivetypeasobjects
9781439035665 ppt ch07_passing_primitivetypeasobjects9781439035665 ppt ch07_passing_primitivetypeasobjects
9781439035665 ppt ch07_passing_primitivetypeasobjects
 
Robust and declarative machine learning pipelines for predictive buying at Ba...
Robust and declarative machine learning pipelines for predictive buying at Ba...Robust and declarative machine learning pipelines for predictive buying at Ba...
Robust and declarative machine learning pipelines for predictive buying at Ba...
 
Intro to programing with java-lecture 3
Intro to programing with java-lecture 3Intro to programing with java-lecture 3
Intro to programing with java-lecture 3
 
Final keyword
Final keywordFinal keyword
Final keyword
 
Last line effect
Last line effectLast line effect
Last line effect
 

Similar to Java related basic tutorial

Unit testing
Unit testingUnit testing
Unit testing
Adam Birr
 
Introduction to java 101
Introduction to java 101Introduction to java 101
Introduction to java 101
kankemwa Ishaku
 
Assignmentjsnsnshshusjdnsnshhzudjdndndjd
AssignmentjsnsnshshusjdnsnshhzudjdndndjdAssignmentjsnsnshshusjdnsnshhzudjdndndjd
Assignmentjsnsnshshusjdnsnshhzudjdndndjd
tusharjain613841
 
Java 101
Java 101Java 101
Java 101
Manuela Grindei
 
Chelberg ptcuser 2010
Chelberg ptcuser 2010Chelberg ptcuser 2010
Chelberg ptcuser 2010
Clay Helberg
 
Unit Testing
Unit TestingUnit Testing
Unit Testing
Adam Birr
 
Principled And Clean Coding
Principled And Clean CodingPrincipled And Clean Coding
Principled And Clean Coding
Metin Ogurlu
 
AspectMock
AspectMockAspectMock
AspectMock
Bryce Embry
 
SMI - Introduction to Java
SMI - Introduction to JavaSMI - Introduction to Java
SMI - Introduction to Java
SMIJava
 
Analysis of a basic java program
Analysis of a basic java programAnalysis of a basic java program
Analysis of a basic java program
Sujit Kumar
 
Debbuging
DebbugingDebbuging
Debbuging
Iama Marsian
 
Unit 1
Unit 1Unit 1
Java 101 Intro to Java Programming
Java 101 Intro to Java ProgrammingJava 101 Intro to Java Programming
Java 101 Intro to Java Programming
agorolabs
 
Java 101 intro to programming with java
Java 101  intro to programming with javaJava 101  intro to programming with java
Java 101 intro to programming with java
Hawkman Academy
 
Software Design
Software DesignSoftware Design
Software Design
Spy Seat
 
Java for Mainframers
Java for MainframersJava for Mainframers
Java for Mainframers
Rich Helton
 
Programming with C++
Programming with C++Programming with C++
Programming with C++
ssuser802d47
 
Hello Java-First Level
Hello Java-First LevelHello Java-First Level
Hello Java-First Level
Dr. Raaid Alubady
 
Hello java
Hello java   Hello java
Hello java
Hello java  Hello java

Similar to Java related basic tutorial (20)

Unit testing
Unit testingUnit testing
Unit testing
 
Introduction to java 101
Introduction to java 101Introduction to java 101
Introduction to java 101
 
Assignmentjsnsnshshusjdnsnshhzudjdndndjd
AssignmentjsnsnshshusjdnsnshhzudjdndndjdAssignmentjsnsnshshusjdnsnshhzudjdndndjd
Assignmentjsnsnshshusjdnsnshhzudjdndndjd
 
Java 101
Java 101Java 101
Java 101
 
Chelberg ptcuser 2010
Chelberg ptcuser 2010Chelberg ptcuser 2010
Chelberg ptcuser 2010
 
Unit Testing
Unit TestingUnit Testing
Unit Testing
 
Principled And Clean Coding
Principled And Clean CodingPrincipled And Clean Coding
Principled And Clean Coding
 
AspectMock
AspectMockAspectMock
AspectMock
 
SMI - Introduction to Java
SMI - Introduction to JavaSMI - Introduction to Java
SMI - Introduction to Java
 
Analysis of a basic java program
Analysis of a basic java programAnalysis of a basic java program
Analysis of a basic java program
 
Debbuging
DebbugingDebbuging
Debbuging
 
Unit 1
Unit 1Unit 1
Unit 1
 
Java 101 Intro to Java Programming
Java 101 Intro to Java ProgrammingJava 101 Intro to Java Programming
Java 101 Intro to Java Programming
 
Java 101 intro to programming with java
Java 101  intro to programming with javaJava 101  intro to programming with java
Java 101 intro to programming with java
 
Software Design
Software DesignSoftware Design
Software Design
 
Java for Mainframers
Java for MainframersJava for Mainframers
Java for Mainframers
 
Programming with C++
Programming with C++Programming with C++
Programming with C++
 
Hello Java-First Level
Hello Java-First LevelHello Java-First Level
Hello Java-First Level
 
Hello java
Hello java   Hello java
Hello java
 
Hello java
Hello java  Hello java
Hello java
 

More from Manzur Ashraf

2022-03-22 15.25.49.pdf
2022-03-22 15.25.49.pdf2022-03-22 15.25.49.pdf
2022-03-22 15.25.49.pdf
Manzur Ashraf
 
Dhumlin upohar ramadan
Dhumlin upohar ramadanDhumlin upohar ramadan
Dhumlin upohar ramadan
Manzur Ashraf
 
Exploratory Data Analysis week 4
Exploratory Data Analysis week 4Exploratory Data Analysis week 4
Exploratory Data Analysis week 4
Manzur Ashraf
 
‘WHAT ARE JAMAAYA, LOYALTY TO LEADERS & THEIR LINK TO RELIGIOUS EXTREMISM?
‘WHAT ARE JAMAAYA, LOYALTY TO LEADERS & THEIR LINK TO RELIGIOUS EXTREMISM?‘WHAT ARE JAMAAYA, LOYALTY TO LEADERS & THEIR LINK TO RELIGIOUS EXTREMISM?
‘WHAT ARE JAMAAYA, LOYALTY TO LEADERS & THEIR LINK TO RELIGIOUS EXTREMISM?
Manzur Ashraf
 
Can Science Come Back to Islam? from New Scientist 23 Oct 1980
Can Science Come Back to Islam?  from New Scientist 23 Oct 1980Can Science Come Back to Islam?  from New Scientist 23 Oct 1980
Can Science Come Back to Islam? from New Scientist 23 Oct 1980
Manzur Ashraf
 
Kakadu report-web-optimization
Kakadu report-web-optimizationKakadu report-web-optimization
Kakadu report-web-optimization
Manzur Ashraf
 
Speed and Performance Optimization Technique of a website
Speed and Performance Optimization Technique of a websiteSpeed and Performance Optimization Technique of a website
Speed and Performance Optimization Technique of a website
Manzur Ashraf
 
SEO for Businesses - BUET ALUMNI Melbourne Chapter Talk Nov 2015
SEO for Businesses - BUET ALUMNI Melbourne Chapter Talk Nov 2015SEO for Businesses - BUET ALUMNI Melbourne Chapter Talk Nov 2015
SEO for Businesses - BUET ALUMNI Melbourne Chapter Talk Nov 2015
Manzur Ashraf
 
website status and seo assessment altec 2015
website status and seo assessment altec 2015website status and seo assessment altec 2015
website status and seo assessment altec 2015
Manzur Ashraf
 
Hajj: an experience and a guide from Dr Manzur Ashraf
Hajj: an experience and a guide from Dr Manzur AshrafHajj: an experience and a guide from Dr Manzur Ashraf
Hajj: an experience and a guide from Dr Manzur Ashraf
Manzur Ashraf
 
Selective Duas from the book muslim-devotion
Selective Duas from the book muslim-devotionSelective Duas from the book muslim-devotion
Selective Duas from the book muslim-devotion
Manzur Ashraf
 
SEO Marketing / Competitive Analysis Report (sample)
  SEO Marketing / Competitive Analysis Report (sample)  SEO Marketing / Competitive Analysis Report (sample)
SEO Marketing / Competitive Analysis Report (sample)
Manzur Ashraf
 
Cclc manzur
Cclc manzurCclc manzur
Cclc manzur
Manzur Ashraf
 
Characteristics of a Muslim (Bangla)
Characteristics of a Muslim (Bangla)Characteristics of a Muslim (Bangla)
Characteristics of a Muslim (Bangla)
Manzur Ashraf
 
Sura Mulk
Sura MulkSura Mulk
Sura Mulk
Manzur Ashraf
 
Bani israel 14_principles
Bani israel 14_principlesBani israel 14_principles
Bani israel 14_principles
Manzur Ashraf
 
Sura kahaf-2015
Sura kahaf-2015Sura kahaf-2015
Sura kahaf-2015
Manzur Ashraf
 
Seo basis-seminar-2015
Seo basis-seminar-2015Seo basis-seminar-2015
Seo basis-seminar-2015
Manzur Ashraf
 

More from Manzur Ashraf (18)

2022-03-22 15.25.49.pdf
2022-03-22 15.25.49.pdf2022-03-22 15.25.49.pdf
2022-03-22 15.25.49.pdf
 
Dhumlin upohar ramadan
Dhumlin upohar ramadanDhumlin upohar ramadan
Dhumlin upohar ramadan
 
Exploratory Data Analysis week 4
Exploratory Data Analysis week 4Exploratory Data Analysis week 4
Exploratory Data Analysis week 4
 
‘WHAT ARE JAMAAYA, LOYALTY TO LEADERS & THEIR LINK TO RELIGIOUS EXTREMISM?
‘WHAT ARE JAMAAYA, LOYALTY TO LEADERS & THEIR LINK TO RELIGIOUS EXTREMISM?‘WHAT ARE JAMAAYA, LOYALTY TO LEADERS & THEIR LINK TO RELIGIOUS EXTREMISM?
‘WHAT ARE JAMAAYA, LOYALTY TO LEADERS & THEIR LINK TO RELIGIOUS EXTREMISM?
 
Can Science Come Back to Islam? from New Scientist 23 Oct 1980
Can Science Come Back to Islam?  from New Scientist 23 Oct 1980Can Science Come Back to Islam?  from New Scientist 23 Oct 1980
Can Science Come Back to Islam? from New Scientist 23 Oct 1980
 
Kakadu report-web-optimization
Kakadu report-web-optimizationKakadu report-web-optimization
Kakadu report-web-optimization
 
Speed and Performance Optimization Technique of a website
Speed and Performance Optimization Technique of a websiteSpeed and Performance Optimization Technique of a website
Speed and Performance Optimization Technique of a website
 
SEO for Businesses - BUET ALUMNI Melbourne Chapter Talk Nov 2015
SEO for Businesses - BUET ALUMNI Melbourne Chapter Talk Nov 2015SEO for Businesses - BUET ALUMNI Melbourne Chapter Talk Nov 2015
SEO for Businesses - BUET ALUMNI Melbourne Chapter Talk Nov 2015
 
website status and seo assessment altec 2015
website status and seo assessment altec 2015website status and seo assessment altec 2015
website status and seo assessment altec 2015
 
Hajj: an experience and a guide from Dr Manzur Ashraf
Hajj: an experience and a guide from Dr Manzur AshrafHajj: an experience and a guide from Dr Manzur Ashraf
Hajj: an experience and a guide from Dr Manzur Ashraf
 
Selective Duas from the book muslim-devotion
Selective Duas from the book muslim-devotionSelective Duas from the book muslim-devotion
Selective Duas from the book muslim-devotion
 
SEO Marketing / Competitive Analysis Report (sample)
  SEO Marketing / Competitive Analysis Report (sample)  SEO Marketing / Competitive Analysis Report (sample)
SEO Marketing / Competitive Analysis Report (sample)
 
Cclc manzur
Cclc manzurCclc manzur
Cclc manzur
 
Characteristics of a Muslim (Bangla)
Characteristics of a Muslim (Bangla)Characteristics of a Muslim (Bangla)
Characteristics of a Muslim (Bangla)
 
Sura Mulk
Sura MulkSura Mulk
Sura Mulk
 
Bani israel 14_principles
Bani israel 14_principlesBani israel 14_principles
Bani israel 14_principles
 
Sura kahaf-2015
Sura kahaf-2015Sura kahaf-2015
Sura kahaf-2015
 
Seo basis-seminar-2015
Seo basis-seminar-2015Seo basis-seminar-2015
Seo basis-seminar-2015
 

Recently uploaded

一比一原版(UO毕业证)渥太华大学毕业证如何办理
一比一原版(UO毕业证)渥太华大学毕业证如何办理一比一原版(UO毕业证)渥太华大学毕业证如何办理
一比一原版(UO毕业证)渥太华大学毕业证如何办理
bmucuha
 
一比一原版南十字星大学毕业证(SCU毕业证书)学历如何办理
一比一原版南十字星大学毕业证(SCU毕业证书)学历如何办理一比一原版南十字星大学毕业证(SCU毕业证书)学历如何办理
一比一原版南十字星大学毕业证(SCU毕业证书)学历如何办理
slg6lamcq
 
一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理
一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理
一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理
nuttdpt
 
一比一原版英国赫特福德大学毕业证(hertfordshire毕业证书)如何办理
一比一原版英国赫特福德大学毕业证(hertfordshire毕业证书)如何办理一比一原版英国赫特福德大学毕业证(hertfordshire毕业证书)如何办理
一比一原版英国赫特福德大学毕业证(hertfordshire毕业证书)如何办理
nyvan3
 
writing report business partner b1+ .pdf
writing report business partner b1+ .pdfwriting report business partner b1+ .pdf
writing report business partner b1+ .pdf
VyNguyen709676
 
The Ipsos - AI - Monitor 2024 Report.pdf
The  Ipsos - AI - Monitor 2024 Report.pdfThe  Ipsos - AI - Monitor 2024 Report.pdf
The Ipsos - AI - Monitor 2024 Report.pdf
Social Samosa
 
原版一比一多伦多大学毕业证(UofT毕业证书)如何办理
原版一比一多伦多大学毕业证(UofT毕业证书)如何办理原版一比一多伦多大学毕业证(UofT毕业证书)如何办理
原版一比一多伦多大学毕业证(UofT毕业证书)如何办理
mkkikqvo
 
一比一原版澳洲西澳大学毕业证(uwa毕业证书)如何办理
一比一原版澳洲西澳大学毕业证(uwa毕业证书)如何办理一比一原版澳洲西澳大学毕业证(uwa毕业证书)如何办理
一比一原版澳洲西澳大学毕业证(uwa毕业证书)如何办理
aguty
 
UofT毕业证如何办理
UofT毕业证如何办理UofT毕业证如何办理
UofT毕业证如何办理
exukyp
 
一比一原版(lbs毕业证书)伦敦商学院毕业证如何办理
一比一原版(lbs毕业证书)伦敦商学院毕业证如何办理一比一原版(lbs毕业证书)伦敦商学院毕业证如何办理
一比一原版(lbs毕业证书)伦敦商学院毕业证如何办理
ywqeos
 
一比一原版卡尔加里大学毕业证(uc毕业证)如何办理
一比一原版卡尔加里大学毕业证(uc毕业证)如何办理一比一原版卡尔加里大学毕业证(uc毕业证)如何办理
一比一原版卡尔加里大学毕业证(uc毕业证)如何办理
oaxefes
 
社内勉強会資料_Hallucination of LLMs               .
社内勉強会資料_Hallucination of LLMs               .社内勉強会資料_Hallucination of LLMs               .
社内勉強会資料_Hallucination of LLMs               .
NABLAS株式会社
 
一比一原版(Sheffield毕业证书)谢菲尔德大学毕业证如何办理
一比一原版(Sheffield毕业证书)谢菲尔德大学毕业证如何办理一比一原版(Sheffield毕业证书)谢菲尔德大学毕业证如何办理
一比一原版(Sheffield毕业证书)谢菲尔德大学毕业证如何办理
1tyxnjpia
 
Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...
Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...
Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...
Aggregage
 
Open Source Contributions to Postgres: The Basics POSETTE 2024
Open Source Contributions to Postgres: The Basics POSETTE 2024Open Source Contributions to Postgres: The Basics POSETTE 2024
Open Source Contributions to Postgres: The Basics POSETTE 2024
ElizabethGarrettChri
 
一比一原版爱尔兰都柏林大学毕业证(本硕)ucd学位证书如何办理
一比一原版爱尔兰都柏林大学毕业证(本硕)ucd学位证书如何办理一比一原版爱尔兰都柏林大学毕业证(本硕)ucd学位证书如何办理
一比一原版爱尔兰都柏林大学毕业证(本硕)ucd学位证书如何办理
hqfek
 
End-to-end pipeline agility - Berlin Buzzwords 2024
End-to-end pipeline agility - Berlin Buzzwords 2024End-to-end pipeline agility - Berlin Buzzwords 2024
End-to-end pipeline agility - Berlin Buzzwords 2024
Lars Albertsson
 
University of New South Wales degree offer diploma Transcript
University of New South Wales degree offer diploma TranscriptUniversity of New South Wales degree offer diploma Transcript
University of New South Wales degree offer diploma Transcript
soxrziqu
 
Orchestrating the Future: Navigating Today's Data Workflow Challenges with Ai...
Orchestrating the Future: Navigating Today's Data Workflow Challenges with Ai...Orchestrating the Future: Navigating Today's Data Workflow Challenges with Ai...
Orchestrating the Future: Navigating Today's Data Workflow Challenges with Ai...
Kaxil Naik
 
一比一原版(曼大毕业证书)曼尼托巴大学毕业证如何办理
一比一原版(曼大毕业证书)曼尼托巴大学毕业证如何办理一比一原版(曼大毕业证书)曼尼托巴大学毕业证如何办理
一比一原版(曼大毕业证书)曼尼托巴大学毕业证如何办理
ytypuem
 

Recently uploaded (20)

一比一原版(UO毕业证)渥太华大学毕业证如何办理
一比一原版(UO毕业证)渥太华大学毕业证如何办理一比一原版(UO毕业证)渥太华大学毕业证如何办理
一比一原版(UO毕业证)渥太华大学毕业证如何办理
 
一比一原版南十字星大学毕业证(SCU毕业证书)学历如何办理
一比一原版南十字星大学毕业证(SCU毕业证书)学历如何办理一比一原版南十字星大学毕业证(SCU毕业证书)学历如何办理
一比一原版南十字星大学毕业证(SCU毕业证书)学历如何办理
 
一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理
一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理
一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理
 
一比一原版英国赫特福德大学毕业证(hertfordshire毕业证书)如何办理
一比一原版英国赫特福德大学毕业证(hertfordshire毕业证书)如何办理一比一原版英国赫特福德大学毕业证(hertfordshire毕业证书)如何办理
一比一原版英国赫特福德大学毕业证(hertfordshire毕业证书)如何办理
 
writing report business partner b1+ .pdf
writing report business partner b1+ .pdfwriting report business partner b1+ .pdf
writing report business partner b1+ .pdf
 
The Ipsos - AI - Monitor 2024 Report.pdf
The  Ipsos - AI - Monitor 2024 Report.pdfThe  Ipsos - AI - Monitor 2024 Report.pdf
The Ipsos - AI - Monitor 2024 Report.pdf
 
原版一比一多伦多大学毕业证(UofT毕业证书)如何办理
原版一比一多伦多大学毕业证(UofT毕业证书)如何办理原版一比一多伦多大学毕业证(UofT毕业证书)如何办理
原版一比一多伦多大学毕业证(UofT毕业证书)如何办理
 
一比一原版澳洲西澳大学毕业证(uwa毕业证书)如何办理
一比一原版澳洲西澳大学毕业证(uwa毕业证书)如何办理一比一原版澳洲西澳大学毕业证(uwa毕业证书)如何办理
一比一原版澳洲西澳大学毕业证(uwa毕业证书)如何办理
 
UofT毕业证如何办理
UofT毕业证如何办理UofT毕业证如何办理
UofT毕业证如何办理
 
一比一原版(lbs毕业证书)伦敦商学院毕业证如何办理
一比一原版(lbs毕业证书)伦敦商学院毕业证如何办理一比一原版(lbs毕业证书)伦敦商学院毕业证如何办理
一比一原版(lbs毕业证书)伦敦商学院毕业证如何办理
 
一比一原版卡尔加里大学毕业证(uc毕业证)如何办理
一比一原版卡尔加里大学毕业证(uc毕业证)如何办理一比一原版卡尔加里大学毕业证(uc毕业证)如何办理
一比一原版卡尔加里大学毕业证(uc毕业证)如何办理
 
社内勉強会資料_Hallucination of LLMs               .
社内勉強会資料_Hallucination of LLMs               .社内勉強会資料_Hallucination of LLMs               .
社内勉強会資料_Hallucination of LLMs               .
 
一比一原版(Sheffield毕业证书)谢菲尔德大学毕业证如何办理
一比一原版(Sheffield毕业证书)谢菲尔德大学毕业证如何办理一比一原版(Sheffield毕业证书)谢菲尔德大学毕业证如何办理
一比一原版(Sheffield毕业证书)谢菲尔德大学毕业证如何办理
 
Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...
Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...
Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...
 
Open Source Contributions to Postgres: The Basics POSETTE 2024
Open Source Contributions to Postgres: The Basics POSETTE 2024Open Source Contributions to Postgres: The Basics POSETTE 2024
Open Source Contributions to Postgres: The Basics POSETTE 2024
 
一比一原版爱尔兰都柏林大学毕业证(本硕)ucd学位证书如何办理
一比一原版爱尔兰都柏林大学毕业证(本硕)ucd学位证书如何办理一比一原版爱尔兰都柏林大学毕业证(本硕)ucd学位证书如何办理
一比一原版爱尔兰都柏林大学毕业证(本硕)ucd学位证书如何办理
 
End-to-end pipeline agility - Berlin Buzzwords 2024
End-to-end pipeline agility - Berlin Buzzwords 2024End-to-end pipeline agility - Berlin Buzzwords 2024
End-to-end pipeline agility - Berlin Buzzwords 2024
 
University of New South Wales degree offer diploma Transcript
University of New South Wales degree offer diploma TranscriptUniversity of New South Wales degree offer diploma Transcript
University of New South Wales degree offer diploma Transcript
 
Orchestrating the Future: Navigating Today's Data Workflow Challenges with Ai...
Orchestrating the Future: Navigating Today's Data Workflow Challenges with Ai...Orchestrating the Future: Navigating Today's Data Workflow Challenges with Ai...
Orchestrating the Future: Navigating Today's Data Workflow Challenges with Ai...
 
一比一原版(曼大毕业证书)曼尼托巴大学毕业证如何办理
一比一原版(曼大毕业证书)曼尼托巴大学毕业证如何办理一比一原版(曼大毕业证书)曼尼托巴大学毕业证如何办理
一比一原版(曼大毕业证书)曼尼托巴大学毕业证如何办理
 

Java related basic tutorial

  • 1.
  • 2. Pseudocode standards • Programs begin with the word start and end with the word stop; these two words are always aligned • Whenever a module name is used, it is followed by a set of parentheses • Modules begin with the module name and end with return. The module name and return are always aligned • Each program statement performs one action—for example, input, processing, or output • Program statements are indented a few spaces more than the word start or the module name • Each program statement appears on a single line if possible. When this is not possible, continuation lines are indented • Program statements begin with lowercase letters • No punctuation is used to end statements
  • 3.
  • 4. Structure used in Java • Sequence • Selection • Loop
  • 5.
  • 6. Selection statement in Java • If statement • If-else statement • Switch statement
  • 7. Create your own data types
  • 10. Simple Coding for (int x = 1; x < 10; x++) System.out.print(x + "t"); Rewrite the above code to display odd numbers Rewrite the above code to display even numbers
  • 11. Array (1D, 2D) • Int [] ages = new int[10]; or • int[] ages = {1,2,3,4,5,6,7,8,9,10}; double [][] Temperature = new double [10][5];
  • 12. Give examples header, method body, parameter, method return type and return statement.
  • 13. • Write a program that calculates and displays the annual increment for a House for the next 10 years, asking for two inputs: a starting price (e.g. $500,000), and the yearly increment rate (e.g. 3%). public static double calculate(double price, double rate) { return s + (s * r)/100; } }
  • 14. default constructors and non-default constructor ??
  • 15. Exercise • Student database • Default constructor: Name: ”not entered”, Id: “not entered” • Employee database