SlideShare a Scribd company logo
Application Engineering and Development 
Seminar: Coding Principles 
Topic Number: 2
Key topics and learning outcomes of this Seminar 
• Reinforce the Java code introduced during Lecture 2 by 
running Java code in IntelliJ; 
• Develop confidence working with Intellij and logic/layout 
files; 
• Develop Mobile Application Programming skills;
Open IntelliJ, Create New Project 
3
Select ‘Java’ 
B4004A L1 4
Select as Screenshot 
B4004A L1 5
Add a Project name 
B4004A L1 6
Opens Class File: Main.java 
B4004A L1 7
Run the program, and check the terminal returns ‘Hello 
World!’ 
B4004A L1 8 
This is the ‘run’ button:
Type some code into Main.java and run it: 
Type this code into the same file in IntelliJ and run it. Some code will need to be deleted to reflect 
correctly the code below (ie the Hello World code section). Check the Terminal output. 
public class Main { 
public static void main(String[] args) { 
int a = 2;int b = 4; int c; 
c=a+b; 
System.out.print(c); 
} 
} 
Change the variables a and b to different values and then run the code again and check the 
correct result shows in the Terminal. 
B4004A L1 9
Create a for loop 
Create a for loop: 
public class Main { 
public static void main(String[] args) { 
for(int i=0;i<10;i++) { 
int a = 2; int b = 4; int c; 
c = a + b; 
System.out.print(c); 
} 
} 
} 
… then make it print out each number on a new line by adding “n” for a new line: 
System.out.print(c + "n"); 
… change i<10 to i<20 and run the program again to see what happens 
B4004A L1 10
Change code to make it add 1 to each number. 
… then make the program add 1 to each number and print it out in the Terminal by adding: 
a = a+1; 
You will need to move the declaration (int a = 2; int b = 4; int c;) out of the for loop, otherwise the result will remain static as the 
program will always go back to those values. Try running it without moving the declaration first, check the output in the Terminal. 
Then move it. Put it the line above the for loop. Run it again and check the output in the Terminal. 
public class Main { 
public static void main(String[] args) { 
int a = 2; int b = 4; int c; 
for(int i=0;i<13;i++) { 
c = a + b; 
a = a + 1; 
System.out.print(c + "n"); 
} 
} 
} 
B4004A L1 11
Using multiplication * 
Change the code a little to make it run the 75 times table. 
public class Main { 
public static void main(String[] args) { 
int a = 0; int b = 75; int c; 
for(int i=0;i<13;i++) { 
c = a * b; 
a = a + 1; 
System.out.print(c + "n"); 
} 
} 
} 
B4004A L1 12
Concatenating Output 
Change the output line of code to this and then look at the output: 
System.out.print(a + " times " + b + " = " + c + "n"); 
Try and write some code to print a box using the character ‘X’ that prints out the same 
number of ‘Xs’ across and down. 
B4004A L1 13
Working with the if statement; 
Try writing this code, changing the value of x to get it to run each statement, and then remove some lines of 
code so that there are less decisions. Pay attention to the brackets. Finally end up with just an if statement, 
without else. 
public class Test { 
public static void main(String args[]){ 
int x = 30; 
if( x == 10 ){ 
System.out.print("Value of X is 10"); 
}else if( x == 20 ){ 
System.out.print("Value of X is 20"); 
}else if( x == 30 ){ 
System.out.print("Value of X is 30"); 
}else{ 
System.out.print("This is else statement"); 
} 
} 
} 
B4004A L1 14
Summary 
This seminar has reinforced the coding principles learned during the 
corresponding lecture; 
This seminar has provided users of IntelliJ with a good understanding 
of how to manage Java code within IntelliJ Development Environment;
Next session 
Workshop 2 – Coding Principles 
This workshop covers Operators and Strings
End of Seminar 
Note: This recording is for your 
personal use only and not for further 
distribution or wider review. 
© Pearson College 2013
Seminar 2 coding_principles
Ad

Recommended

Seminar 2 coding_principles
Seminar 2 coding_principles
moduledesign
 
Operators
Operators
Allah Ditta
 
Functions & Procedures [7]
Functions & Procedures [7]
ecko_disasterz
 
C programming Lab 1
C programming Lab 1
Zaibi Gondal
 
Programming fundamentals
Programming fundamentals
Zaibi Gondal
 
C programming Lab 2
C programming Lab 2
Zaibi Gondal
 
Managing input and output operations in c
Managing input and output operations in c
niyamathShariff
 
Relational Operators in C
Relational Operators in C
Lakshmi Sarvani Videla
 
Input Output Management In C Programming
Input Output Management In C Programming
Kamal Acharya
 
Loop Statements [5] M
Loop Statements [5] M
ecko_disasterz
 
escape sequences and substitution markers
escape sequences and substitution markers
Micheal Ogundero
 
Lab 1
Lab 1
emailharmeet
 
csharp repitition structures
csharp repitition structures
Micheal Ogundero
 
CP Handout#6
CP Handout#6
trupti1976
 
CP Handout#7
CP Handout#7
trupti1976
 
7. input and output functions
7. input and output functions
Way2itech
 
Input output statement in C
Input output statement in C
Muthuganesh S
 
CP Handout#8
CP Handout#8
trupti1976
 
02 iec t1_s1_oo_ps_session_02
02 iec t1_s1_oo_ps_session_02
Pooja Gupta
 
C Building Blocks
C Building Blocks
imtiazalijoono
 
CP Handout#2
CP Handout#2
trupti1976
 
Increment and Decrement operators in C++
Increment and Decrement operators in C++
Neeru Mittal
 
Lab 2
Lab 2
Yiian Yeh Kho
 
Data Input and Output
Data Input and Output
Sabik T S
 
Simple c program
Simple c program
Ravi Singh
 
selection structures
selection structures
Micheal Ogundero
 
Exp 3-2 d 422
Exp 3-2 d 422
Omkar Rane
 
C programming session 03
C programming session 03
Dushmanta Nath
 
9 11 25 14 44 6 41 15 57 9 39 16 41 2 58 8 43 12 4.docx
9 11 25 14 44 6 41 15 57 9 39 16 41 2 58 8 43 12 4.docx
ransayo
 
Chapter 00 revision
Chapter 00 revision
Nurhanna Aziz
 

More Related Content

What's hot (20)

Input Output Management In C Programming
Input Output Management In C Programming
Kamal Acharya
 
Loop Statements [5] M
Loop Statements [5] M
ecko_disasterz
 
escape sequences and substitution markers
escape sequences and substitution markers
Micheal Ogundero
 
Lab 1
Lab 1
emailharmeet
 
csharp repitition structures
csharp repitition structures
Micheal Ogundero
 
CP Handout#6
CP Handout#6
trupti1976
 
CP Handout#7
CP Handout#7
trupti1976
 
7. input and output functions
7. input and output functions
Way2itech
 
Input output statement in C
Input output statement in C
Muthuganesh S
 
CP Handout#8
CP Handout#8
trupti1976
 
02 iec t1_s1_oo_ps_session_02
02 iec t1_s1_oo_ps_session_02
Pooja Gupta
 
C Building Blocks
C Building Blocks
imtiazalijoono
 
CP Handout#2
CP Handout#2
trupti1976
 
Increment and Decrement operators in C++
Increment and Decrement operators in C++
Neeru Mittal
 
Lab 2
Lab 2
Yiian Yeh Kho
 
Data Input and Output
Data Input and Output
Sabik T S
 
Simple c program
Simple c program
Ravi Singh
 
selection structures
selection structures
Micheal Ogundero
 
Exp 3-2 d 422
Exp 3-2 d 422
Omkar Rane
 
C programming session 03
C programming session 03
Dushmanta Nath
 
Input Output Management In C Programming
Input Output Management In C Programming
Kamal Acharya
 
escape sequences and substitution markers
escape sequences and substitution markers
Micheal Ogundero
 
csharp repitition structures
csharp repitition structures
Micheal Ogundero
 
7. input and output functions
7. input and output functions
Way2itech
 
Input output statement in C
Input output statement in C
Muthuganesh S
 
02 iec t1_s1_oo_ps_session_02
02 iec t1_s1_oo_ps_session_02
Pooja Gupta
 
Increment and Decrement operators in C++
Increment and Decrement operators in C++
Neeru Mittal
 
Data Input and Output
Data Input and Output
Sabik T S
 
Simple c program
Simple c program
Ravi Singh
 
C programming session 03
C programming session 03
Dushmanta Nath
 

Similar to Seminar 2 coding_principles (20)

9 11 25 14 44 6 41 15 57 9 39 16 41 2 58 8 43 12 4.docx
9 11 25 14 44 6 41 15 57 9 39 16 41 2 58 8 43 12 4.docx
ransayo
 
Chapter 00 revision
Chapter 00 revision
Nurhanna Aziz
 
Lecture 2 coding_principles
Lecture 2 coding_principles
moduledesign
 
Lecture 2 coding_principles
Lecture 2 coding_principles
moduledesign
 
Java programs
Java programs
Dr.M.Karthika parthasarathy
 
JPC#8 Introduction to Java Programming
JPC#8 Introduction to Java Programming
Pathomchon Sriwilairit
 
Core java
Core java
Uday Sharma
 
Java basic tutorial by sanjeevini india
Java basic tutorial by sanjeevini india
Sanjeev Tripathi
 
Java basic tutorial by sanjeevini india
Java basic tutorial by sanjeevini india
sanjeeviniindia1186
 
Comp102 lec 5.1
Comp102 lec 5.1
Fraz Bakhsh
 
Java if and else
Java if and else
pratik8897
 
Introduction to Java Programming Part 2
Introduction to Java Programming Part 2
university of education,Lahore
 
Introduction to java Programming
Introduction to java Programming
Ahmed Ayman
 
Java Android Programming for MAD lab Fundamentals
Java Android Programming for MAD lab Fundamentals
Abcd463572
 
SE-IT JAVA LAB SYLLABUS
SE-IT JAVA LAB SYLLABUS
nikshaikh786
 
Javamschn3
Javamschn3
Sudipto Chattopadhyay
 
Android Application Development - Level 3
Android Application Development - Level 3
Isham Rashik
 
Java Foundations: Basic Syntax, Conditions, Loops
Java Foundations: Basic Syntax, Conditions, Loops
Svetlin Nakov
 
Pj01 5-exceution control flow
Pj01 5-exceution control flow
SasidharaRaoMarrapu
 
Java introduction
Java introduction
Samsung Electronics Egypt
 
9 11 25 14 44 6 41 15 57 9 39 16 41 2 58 8 43 12 4.docx
9 11 25 14 44 6 41 15 57 9 39 16 41 2 58 8 43 12 4.docx
ransayo
 
Lecture 2 coding_principles
Lecture 2 coding_principles
moduledesign
 
Lecture 2 coding_principles
Lecture 2 coding_principles
moduledesign
 
JPC#8 Introduction to Java Programming
JPC#8 Introduction to Java Programming
Pathomchon Sriwilairit
 
Java basic tutorial by sanjeevini india
Java basic tutorial by sanjeevini india
Sanjeev Tripathi
 
Java basic tutorial by sanjeevini india
Java basic tutorial by sanjeevini india
sanjeeviniindia1186
 
Java if and else
Java if and else
pratik8897
 
Introduction to java Programming
Introduction to java Programming
Ahmed Ayman
 
Java Android Programming for MAD lab Fundamentals
Java Android Programming for MAD lab Fundamentals
Abcd463572
 
SE-IT JAVA LAB SYLLABUS
SE-IT JAVA LAB SYLLABUS
nikshaikh786
 
Android Application Development - Level 3
Android Application Development - Level 3
Isham Rashik
 
Java Foundations: Basic Syntax, Conditions, Loops
Java Foundations: Basic Syntax, Conditions, Loops
Svetlin Nakov
 
Ad

More from moduledesign (20)

Bm512 b525 t1_s_v002
Bm512 b525 t1_s_v002
moduledesign
 
Bm512 b525 t5_l_v002
Bm512 b525 t5_l_v002
moduledesign
 
Bm509 b519 t1_l_v002
Bm509 b519 t1_l_v002
moduledesign
 
Corporate reporting and finance lecture 1
Corporate reporting and finance lecture 1
moduledesign
 
Af502 b523 t1_l1_v002
Af502 b523 t1_l1_v002
moduledesign
 
B515 lecture 1 edited_mr
B515 lecture 1 edited_mr
moduledesign
 
B502 ethics lecture t005_rf
B502 ethics lecture t005_rf
moduledesign
 
B526 ops pm lecture_t001b_with notes
B526 ops pm lecture_t001b_with notes
moduledesign
 
B526 ops pm lecture_t009_rf
B526 ops pm lecture_t009_rf
moduledesign
 
Pearson principles of business implementing strategy lecture 2
Pearson principles of business implementing strategy lecture 2
moduledesign
 
Generic lecture 4 research design (1)
Generic lecture 4 research design (1)
moduledesign
 
Generic lecture 3 literature review tutor
Generic lecture 3 literature review tutor
moduledesign
 
Generic lecture 2 research proposal student
Generic lecture 2 research proposal student
moduledesign
 
Tutor version slides seminar 9 implementing knowledge management
Tutor version slides seminar 9 implementing knowledge management
moduledesign
 
Tutor version slides eminar 2 the nature of knowing
Tutor version slides eminar 2 the nature of knowing
moduledesign
 
Tutor version slides seminar 10 assignment support
Tutor version slides seminar 10 assignment support
moduledesign
 
Tutor version slides seminar 5 the learning organisation
Tutor version slides seminar 5 the learning organisation
moduledesign
 
Tutor version slides seminar 1 introduction to knowledge management
Tutor version slides seminar 1 introduction to knowledge management
moduledesign
 
Tutor version slides seminar 4 organisational learning
Tutor version slides seminar 4 organisational learning
moduledesign
 
Tutor version slides seminar 7 digital knowledge managment
Tutor version slides seminar 7 digital knowledge managment
moduledesign
 
Bm512 b525 t1_s_v002
Bm512 b525 t1_s_v002
moduledesign
 
Bm512 b525 t5_l_v002
Bm512 b525 t5_l_v002
moduledesign
 
Bm509 b519 t1_l_v002
Bm509 b519 t1_l_v002
moduledesign
 
Corporate reporting and finance lecture 1
Corporate reporting and finance lecture 1
moduledesign
 
Af502 b523 t1_l1_v002
Af502 b523 t1_l1_v002
moduledesign
 
B515 lecture 1 edited_mr
B515 lecture 1 edited_mr
moduledesign
 
B502 ethics lecture t005_rf
B502 ethics lecture t005_rf
moduledesign
 
B526 ops pm lecture_t001b_with notes
B526 ops pm lecture_t001b_with notes
moduledesign
 
B526 ops pm lecture_t009_rf
B526 ops pm lecture_t009_rf
moduledesign
 
Pearson principles of business implementing strategy lecture 2
Pearson principles of business implementing strategy lecture 2
moduledesign
 
Generic lecture 4 research design (1)
Generic lecture 4 research design (1)
moduledesign
 
Generic lecture 3 literature review tutor
Generic lecture 3 literature review tutor
moduledesign
 
Generic lecture 2 research proposal student
Generic lecture 2 research proposal student
moduledesign
 
Tutor version slides seminar 9 implementing knowledge management
Tutor version slides seminar 9 implementing knowledge management
moduledesign
 
Tutor version slides eminar 2 the nature of knowing
Tutor version slides eminar 2 the nature of knowing
moduledesign
 
Tutor version slides seminar 10 assignment support
Tutor version slides seminar 10 assignment support
moduledesign
 
Tutor version slides seminar 5 the learning organisation
Tutor version slides seminar 5 the learning organisation
moduledesign
 
Tutor version slides seminar 1 introduction to knowledge management
Tutor version slides seminar 1 introduction to knowledge management
moduledesign
 
Tutor version slides seminar 4 organisational learning
Tutor version slides seminar 4 organisational learning
moduledesign
 
Tutor version slides seminar 7 digital knowledge managment
Tutor version slides seminar 7 digital knowledge managment
moduledesign
 
Ad

Recently uploaded (20)

Code Profiling in Odoo 18 - Odoo 18 Slides
Code Profiling in Odoo 18 - Odoo 18 Slides
Celine George
 
Pests of Maize: An comprehensive overview.pptx
Pests of Maize: An comprehensive overview.pptx
Arshad Shaikh
 
Photo chemistry Power Point Presentation
Photo chemistry Power Point Presentation
mprpgcwa2024
 
THE PSYCHOANALYTIC OF THE BLACK CAT BY EDGAR ALLAN POE (1).pdf
THE PSYCHOANALYTIC OF THE BLACK CAT BY EDGAR ALLAN POE (1).pdf
nabilahk908
 
How to use search fetch method in Odoo 18
How to use search fetch method in Odoo 18
Celine George
 
IIT KGP Quiz Week 2024 Sports Quiz (Prelims + Finals)
IIT KGP Quiz Week 2024 Sports Quiz (Prelims + Finals)
IIT Kharagpur Quiz Club
 
NSUMD_M1 Library Orientation_June 11, 2025.pptx
NSUMD_M1 Library Orientation_June 11, 2025.pptx
Julie Sarpy
 
YSPH VMOC Special Report - Measles Outbreak Southwest US 6-14-2025.pptx
YSPH VMOC Special Report - Measles Outbreak Southwest US 6-14-2025.pptx
Yale School of Public Health - The Virtual Medical Operations Center (VMOC)
 
Public Health For The 21st Century 1st Edition Judy Orme Jane Powell
Public Health For The 21st Century 1st Edition Judy Orme Jane Powell
trjnesjnqg7801
 
ENGLISH-5 Q1 Lesson 1.pptx - Story Elements
ENGLISH-5 Q1 Lesson 1.pptx - Story Elements
Mayvel Nadal
 
Great Governors' Send-Off Quiz 2025 Prelims IIT KGP
Great Governors' Send-Off Quiz 2025 Prelims IIT KGP
IIT Kharagpur Quiz Club
 
VCE Literature Section A Exam Response Guide
VCE Literature Section A Exam Response Guide
jpinnuck
 
Hurricane Helene Application Documents Checklists
Hurricane Helene Application Documents Checklists
Mebane Rash
 
Peer Teaching Observations During School Internship
Peer Teaching Observations During School Internship
AjayaMohanty7
 
June 2025 Progress Update With Board Call_In process.pptx
June 2025 Progress Update With Board Call_In process.pptx
International Society of Service Innovation Professionals
 
Q1_TLE 8_Week 1- Day 1 tools and equipment
Q1_TLE 8_Week 1- Day 1 tools and equipment
clairenotado3
 
K12 Tableau User Group virtual event June 18, 2025
K12 Tableau User Group virtual event June 18, 2025
dogden2
 
LAZY SUNDAY QUIZ "A GENERAL QUIZ" JUNE 2025 SMC QUIZ CLUB, SILCHAR MEDICAL CO...
LAZY SUNDAY QUIZ "A GENERAL QUIZ" JUNE 2025 SMC QUIZ CLUB, SILCHAR MEDICAL CO...
Ultimatewinner0342
 
How to Customize Quotation Layouts in Odoo 18
How to Customize Quotation Layouts in Odoo 18
Celine George
 
LDMMIA Shop & Student News Summer Solstice 25
LDMMIA Shop & Student News Summer Solstice 25
LDM & Mia eStudios
 
Code Profiling in Odoo 18 - Odoo 18 Slides
Code Profiling in Odoo 18 - Odoo 18 Slides
Celine George
 
Pests of Maize: An comprehensive overview.pptx
Pests of Maize: An comprehensive overview.pptx
Arshad Shaikh
 
Photo chemistry Power Point Presentation
Photo chemistry Power Point Presentation
mprpgcwa2024
 
THE PSYCHOANALYTIC OF THE BLACK CAT BY EDGAR ALLAN POE (1).pdf
THE PSYCHOANALYTIC OF THE BLACK CAT BY EDGAR ALLAN POE (1).pdf
nabilahk908
 
How to use search fetch method in Odoo 18
How to use search fetch method in Odoo 18
Celine George
 
IIT KGP Quiz Week 2024 Sports Quiz (Prelims + Finals)
IIT KGP Quiz Week 2024 Sports Quiz (Prelims + Finals)
IIT Kharagpur Quiz Club
 
NSUMD_M1 Library Orientation_June 11, 2025.pptx
NSUMD_M1 Library Orientation_June 11, 2025.pptx
Julie Sarpy
 
Public Health For The 21st Century 1st Edition Judy Orme Jane Powell
Public Health For The 21st Century 1st Edition Judy Orme Jane Powell
trjnesjnqg7801
 
ENGLISH-5 Q1 Lesson 1.pptx - Story Elements
ENGLISH-5 Q1 Lesson 1.pptx - Story Elements
Mayvel Nadal
 
Great Governors' Send-Off Quiz 2025 Prelims IIT KGP
Great Governors' Send-Off Quiz 2025 Prelims IIT KGP
IIT Kharagpur Quiz Club
 
VCE Literature Section A Exam Response Guide
VCE Literature Section A Exam Response Guide
jpinnuck
 
Hurricane Helene Application Documents Checklists
Hurricane Helene Application Documents Checklists
Mebane Rash
 
Peer Teaching Observations During School Internship
Peer Teaching Observations During School Internship
AjayaMohanty7
 
Q1_TLE 8_Week 1- Day 1 tools and equipment
Q1_TLE 8_Week 1- Day 1 tools and equipment
clairenotado3
 
K12 Tableau User Group virtual event June 18, 2025
K12 Tableau User Group virtual event June 18, 2025
dogden2
 
LAZY SUNDAY QUIZ "A GENERAL QUIZ" JUNE 2025 SMC QUIZ CLUB, SILCHAR MEDICAL CO...
LAZY SUNDAY QUIZ "A GENERAL QUIZ" JUNE 2025 SMC QUIZ CLUB, SILCHAR MEDICAL CO...
Ultimatewinner0342
 
How to Customize Quotation Layouts in Odoo 18
How to Customize Quotation Layouts in Odoo 18
Celine George
 
LDMMIA Shop & Student News Summer Solstice 25
LDMMIA Shop & Student News Summer Solstice 25
LDM & Mia eStudios
 

Seminar 2 coding_principles

  • 1. Application Engineering and Development Seminar: Coding Principles Topic Number: 2
  • 2. Key topics and learning outcomes of this Seminar • Reinforce the Java code introduced during Lecture 2 by running Java code in IntelliJ; • Develop confidence working with Intellij and logic/layout files; • Develop Mobile Application Programming skills;
  • 3. Open IntelliJ, Create New Project 3
  • 5. Select as Screenshot B4004A L1 5
  • 6. Add a Project name B4004A L1 6
  • 7. Opens Class File: Main.java B4004A L1 7
  • 8. Run the program, and check the terminal returns ‘Hello World!’ B4004A L1 8 This is the ‘run’ button:
  • 9. Type some code into Main.java and run it: Type this code into the same file in IntelliJ and run it. Some code will need to be deleted to reflect correctly the code below (ie the Hello World code section). Check the Terminal output. public class Main { public static void main(String[] args) { int a = 2;int b = 4; int c; c=a+b; System.out.print(c); } } Change the variables a and b to different values and then run the code again and check the correct result shows in the Terminal. B4004A L1 9
  • 10. Create a for loop Create a for loop: public class Main { public static void main(String[] args) { for(int i=0;i<10;i++) { int a = 2; int b = 4; int c; c = a + b; System.out.print(c); } } } … then make it print out each number on a new line by adding “n” for a new line: System.out.print(c + "n"); … change i<10 to i<20 and run the program again to see what happens B4004A L1 10
  • 11. Change code to make it add 1 to each number. … then make the program add 1 to each number and print it out in the Terminal by adding: a = a+1; You will need to move the declaration (int a = 2; int b = 4; int c;) out of the for loop, otherwise the result will remain static as the program will always go back to those values. Try running it without moving the declaration first, check the output in the Terminal. Then move it. Put it the line above the for loop. Run it again and check the output in the Terminal. public class Main { public static void main(String[] args) { int a = 2; int b = 4; int c; for(int i=0;i<13;i++) { c = a + b; a = a + 1; System.out.print(c + "n"); } } } B4004A L1 11
  • 12. Using multiplication * Change the code a little to make it run the 75 times table. public class Main { public static void main(String[] args) { int a = 0; int b = 75; int c; for(int i=0;i<13;i++) { c = a * b; a = a + 1; System.out.print(c + "n"); } } } B4004A L1 12
  • 13. Concatenating Output Change the output line of code to this and then look at the output: System.out.print(a + " times " + b + " = " + c + "n"); Try and write some code to print a box using the character ‘X’ that prints out the same number of ‘Xs’ across and down. B4004A L1 13
  • 14. Working with the if statement; Try writing this code, changing the value of x to get it to run each statement, and then remove some lines of code so that there are less decisions. Pay attention to the brackets. Finally end up with just an if statement, without else. public class Test { public static void main(String args[]){ int x = 30; if( x == 10 ){ System.out.print("Value of X is 10"); }else if( x == 20 ){ System.out.print("Value of X is 20"); }else if( x == 30 ){ System.out.print("Value of X is 30"); }else{ System.out.print("This is else statement"); } } } B4004A L1 14
  • 15. Summary This seminar has reinforced the coding principles learned during the corresponding lecture; This seminar has provided users of IntelliJ with a good understanding of how to manage Java code within IntelliJ Development Environment;
  • 16. Next session Workshop 2 – Coding Principles This workshop covers Operators and Strings
  • 17. End of Seminar Note: This recording is for your personal use only and not for further distribution or wider review. © Pearson College 2013

Editor's Notes

  • #2: Tutor notes to go in here
  • #17: Provide guidance to students on the preparation for next week’s activity.