SlideShare uma empresa Scribd logo
1 de 13
Anatomy of a Class 
public class MyFirstApp { 
public static void main (String [ ] args ) { 
System.out.println (“I Rule!”) ; 
} 
} 
Public so 
everyone can 
access it 
This is a class The name of this class 
Opening of curly 
brace of the 
class 
We’ll cover this later. 
The return type. 
Void means there 
is nothing returned Arguments to 
the method. This 
method must be 
given an array of 
String, and the 
array will be 
called ‘args’ 
Opening brace 
of the method 
Every statement 
MUST end in a 
semicolon! 
A string you 
want to print 
This says print to 
standard output 
(defaults to 
command-line) 
Closing brace of 
the method 
Closing brace of 
the MyFirstApp 
class 
The name of the 
method 
DONT WORRY ABOUT MEMORIZING ANYTHING RIGHT NOW… 
THIS IS JUST SOMETHING TO GET THAT SWEET JAVA AMORA IN THE 
AIR
The main thing is to keep the main 
thing the main thing. ~ Stephen Covey 
When the JVM (Java Virtual Machine) starts running, it looks for the class 
you give it at the command line. Then it starts looking for a specifically-written 
method that looks exactly like: 
public static void main (String [ ] 
args) { 
//your code goes here 
} 
What’s 
this? 
This is called the “main” method, and the JVM runs everything between the 
curly braces { } of this main method. Every Java application has to have as 
least one class, and at least one main method. (NOT one main per class; 
just one main per application). The main( ) method tells the computer 
where to start, and you only need one starting place.
What can the main method 
do? 
Your code can tell the JVM to: 
1 do something 
int x = 3; 
String name = “Kyle”; 
x = x +17; 
System.out.print(“x is “ + 
x); 
double d = Math.random(); 
//this is a comment 
Statements: declarations, 
assignments, method 
calls, etc. 
2 
do 
something 
again and 
again 
while (x >12) { 
x = x + 1; 
} 
for (int x = 0; x < 10; x = x + 1) 
{ 
System.out.print(“x is now “+ 
x); 
} 
Loops: for and while 
3 
do something 
under this 
condition 
if (x == 10) { 
System.out.print(“x must be 
10”); 
} else { 
System.out.print(“x isn’t 10”); 
} 
if ((x < 3) & (name.equals(“Kyle”))) 
{ 
System.out.println(“Gently”); 
} 
System.out.print(“This line runs no 
matter what”); 
Branching: if…else tests
Syntax Fun 
Each statement must end in a semicolon: 
x = x + 1; 
A single-line comment begins with two forward slashes: 
x = 22; //this is a comment 
Most white space doesn’t matter: 
x = 3 ; 
Variables are declared with a name and a type (you’ll learn about 
all the Java types in chapter 3). 
int weight; //type: int, name: weight 
Classes and methods must be defined within a pair of curly 
braces. 
public void go( ) { //amazing code here }
Looping, Looping, Looping 
Java offers three types of looping structures: while, do-while, and for. 
We’ll discuss the others later, but for now we will only discuss while. 
The while loop keeps looping as long as some condition is true, this is called 
the conditional test. 
What is done on each loop is found inside the loop block, which is located 
after the conditional testc uwriltyh in 
braces. 
while (moreBalls == true) { 
keepJuggling( ); 
} 
The key to a loop is a 
conditional test. In Java, a 
conditional test is an expression 
that results in a boolean value – 
in other words, something that 
is either true or false.
Simple Boolean Tests 
You can do a simple boolean test by checking the value of a variable, using a 
comparison operator including: 
< (less than) > (greater 
than) 
== 
(equality) 
Yes that is TWO equal 
signs. Notice the 
difference: the assignment 
operator is = and the 
equality operator is ==. 
Lots of programmers 
accidently type = when 
they want ==, but not you 
 
int x = 4; //assign 4 to x 
while (x > 3) { 
// loop code will run because 
// x is greater than 3 
x = x – 1; 
} 
int z = 27; 
while (z == 17) { 
// loop code will not run 
because 
// z is not equal to 17 
}
Example of a while loop 
public class Loopy { 
public static void main (String[ ] args) { 
int x = 1; 
System.out.println(“Before the Loop.”); 
while (x < 4) { 
System.out.println(“In the loop”); 
System.out.println(“Value of x is “ + 
x); 
x = x + 1; 
} 
System.out.println(“This is after the 
loop”); 
} 
} 
Let’s see how it 
works
Conditional Branching 
public class IfTest { 
public class IfTest { 
public static void main (String[ ] args) { 
int x = 3; 
if (x == 3) { 
System.out.print(“x must be 3”); 
} 
System.out.print(“This runs no matter what”); 
} 
} 
public static void main (String[ ] args) { 
int x = 3; 
if (x == 3) { 
System.out.println(“x must be 3”); 
} 
System.out.println(“This runs no matter what”); 
} 
} 
What’s 
different?
Conditional Branching 
public class IfTest { 
public static void main (String[ ] args) { 
int x = 3; 
if (x == 3) { 
System.out.println(“x must be 3”); 
} else { 
System.out.println(“x is NOT 3”); 
} 
System.out.println(“This runs no matter what”); 
} 
} 
What about this 
one? 
What is 
this?
Coding a Serious 
Business Application 
With the tools we have covered up to this point you have just about 
enough skills to code your first program. 
Who knows the lyrics to “99 Bottles of Beer on the Wall”? 
So how do we do it, what 
do we need?
Be Prepared ~ Robert Baden-Powell 
Before you start programming begin with creating 
prepcode. 
A form or pseudocode, to help you focus on the 
logic without stressing about syntax. 
Use keywords like: 
METHOD IF ELSE 
GET DECLARE RETURN 
ASSIGN CONVERT WHILE 
PRINT INCREMENT DECREMENT 
COMPARE CHECK SET 
REPEAT EQUALS
What would the prepcode look 
like for “99 bottles of beer on the 
wall”? 
Prepcode for “99 bottles of beer on the wall”. 
DECLARE counter SET to 99 
REPEAT until counter EQUALS 1 
PRINT counter + “bottles of beer on the wall,” 
PRINT counter + “bottles of beer.” 
PRINT “Take one down and pass it around,” 
DECREMENT counter 
IF counter EQUALS 1 
PRINT counter + “bottle of beer on the wall.” 
END IF 
ELSE 
PRINT counter + “bottles of beer on the wall.” 
END ELSE 
END REPEAT 
PRINT counter + “bottle of beer on the wall,” 
PRINT counter + “bottle of beer.” 
PRINT “Take one down and pass it around,” 
PRINT “no more bottles of beer on the wall.”
Homework! 
Practice writing prepcode. 
Install Eclipse. 
Experiment with writing your first Java program. 
Quizzes start next week

Mais conteúdo relacionado

Mais procurados

Jumping statements
Jumping statementsJumping statements
Jumping statements
Suneel Dogra
 
Python decision making_loops part7
Python decision making_loops part7Python decision making_loops part7
Python decision making_loops part7
Vishal Dutt
 
Presentation on Template Method Design Pattern
Presentation on Template Method Design PatternPresentation on Template Method Design Pattern
Presentation on Template Method Design Pattern
Asif Tayef
 

Mais procurados (20)

M C6java5
M C6java5M C6java5
M C6java5
 
Control structures in java
Control structures in javaControl structures in java
Control structures in java
 
Jumping statements
Jumping statementsJumping statements
Jumping statements
 
Python decision making_loops part7
Python decision making_loops part7Python decision making_loops part7
Python decision making_loops part7
 
Java control flow statements
Java control flow statementsJava control flow statements
Java control flow statements
 
Template Method Design Pattern
Template Method Design PatternTemplate Method Design Pattern
Template Method Design Pattern
 
Exceptions handling in java
Exceptions handling in javaExceptions handling in java
Exceptions handling in java
 
Error and exception in python
Error and exception in pythonError and exception in python
Error and exception in python
 
Presentation on Template Method Design Pattern
Presentation on Template Method Design PatternPresentation on Template Method Design Pattern
Presentation on Template Method Design Pattern
 
Control statements
Control statementsControl statements
Control statements
 
Control structures repetition
Control structures   repetitionControl structures   repetition
Control structures repetition
 
Loops in c programming
Loops in c programmingLoops in c programming
Loops in c programming
 
C lecture 4 nested loops and jumping statements slideshare
C lecture 4 nested loops and jumping statements slideshareC lecture 4 nested loops and jumping statements slideshare
C lecture 4 nested loops and jumping statements slideshare
 
Decision making and looping
Decision making and loopingDecision making and looping
Decision making and looping
 
Iteration
IterationIteration
Iteration
 
Python Programming Basics
Python Programming BasicsPython Programming Basics
Python Programming Basics
 
Java Control Statements
Java Control StatementsJava Control Statements
Java Control Statements
 
Break and continue
Break and continueBreak and continue
Break and continue
 
Control statements in java
Control statements in javaControl statements in java
Control statements in java
 
Loops in C Programming Language
Loops in C Programming LanguageLoops in C Programming Language
Loops in C Programming Language
 

Destaque

Destaque (13)

03 Objects
03 Objects03 Objects
03 Objects
 
Vocab 9 review
Vocab 9 reviewVocab 9 review
Vocab 9 review
 
On Malicious Data Attacks on Power System State Estimation
On Malicious Data Attacks on Power System State EstimationOn Malicious Data Attacks on Power System State Estimation
On Malicious Data Attacks on Power System State Estimation
 
Basic Guidelines On Realistic Lollipop Holidays Solutions
Basic Guidelines On Realistic Lollipop Holidays Solutions
Basic Guidelines On Realistic Lollipop Holidays Solutions
Basic Guidelines On Realistic Lollipop Holidays Solutions
 
Some Emerging Challenges For Rapid Tactics In Breaks To Marrakech
Some Emerging Challenges For Rapid Tactics In Breaks To Marrakech
Some Emerging Challenges For Rapid Tactics In Breaks To Marrakech
Some Emerging Challenges For Rapid Tactics In Breaks To Marrakech
 
A super resolution algorithm for surveillance Images
A super resolution algorithm for surveillance ImagesA super resolution algorithm for surveillance Images
A super resolution algorithm for surveillance Images
 
01 - Intro To Using Java
01 - Intro To Using Java01 - Intro To Using Java
01 - Intro To Using Java
 
Leadership skills
Leadership skillsLeadership skills
Leadership skills
 
Vocab 7
Vocab 7 Vocab 7
Vocab 7
 
Vocab 3 review
Vocab 3 reviewVocab 3 review
Vocab 3 review
 
Vocab 4 review
Vocab 4 reviewVocab 4 review
Vocab 4 review
 
Vocab 6 review
Vocab 6 reviewVocab 6 review
Vocab 6 review
 
On Comparative study of Image Restoration Algorithms
On Comparative study of Image Restoration AlgorithmsOn Comparative study of Image Restoration Algorithms
On Comparative study of Image Restoration Algorithms
 

Semelhante a 02 - Prepcode

Semelhante a 02 - Prepcode (20)

02 prepcode
02 prepcode02 prepcode
02 prepcode
 
Java tutorial PPT
Java tutorial PPTJava tutorial PPT
Java tutorial PPT
 
Java tutorial PPT
Java tutorial  PPTJava tutorial  PPT
Java tutorial PPT
 
Synapseindia reviews.odp.
Synapseindia reviews.odp.Synapseindia reviews.odp.
Synapseindia reviews.odp.
 
Java loops
Java loopsJava loops
Java loops
 
Learning Java 1 – Introduction
Learning Java 1 – IntroductionLearning Java 1 – Introduction
Learning Java 1 – Introduction
 
Java tut1
Java tut1Java tut1
Java tut1
 
Java tut1 Coderdojo Cahersiveen
Java tut1 Coderdojo CahersiveenJava tut1 Coderdojo Cahersiveen
Java tut1 Coderdojo Cahersiveen
 
Java tut1
Java tut1Java tut1
Java tut1
 
Javatut1
Javatut1 Javatut1
Javatut1
 
Java Tutorial
Java TutorialJava Tutorial
Java Tutorial
 
Java_Tutorial_Introduction_to_Core_java.ppt
Java_Tutorial_Introduction_to_Core_java.pptJava_Tutorial_Introduction_to_Core_java.ppt
Java_Tutorial_Introduction_to_Core_java.ppt
 
Java tut1
Java tut1Java tut1
Java tut1
 
Tutorial java
Tutorial javaTutorial java
Tutorial java
 
Java Tut1
Java Tut1Java Tut1
Java Tut1
 
Java Tutorial
Java TutorialJava Tutorial
Java Tutorial
 
Java tutorials
Java tutorialsJava tutorials
Java tutorials
 
Java Tutorial | My Heart
Java Tutorial | My HeartJava Tutorial | My Heart
Java Tutorial | My Heart
 
Lecture - 5 Control Statement
Lecture - 5 Control StatementLecture - 5 Control Statement
Lecture - 5 Control Statement
 
JAVA LOOP.pptx
JAVA LOOP.pptxJAVA LOOP.pptx
JAVA LOOP.pptx
 

Último

1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
Chris Hunter
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
kauryashika82
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
negromaestrong
 

Último (20)

psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 

02 - Prepcode

  • 1. Anatomy of a Class public class MyFirstApp { public static void main (String [ ] args ) { System.out.println (“I Rule!”) ; } } Public so everyone can access it This is a class The name of this class Opening of curly brace of the class We’ll cover this later. The return type. Void means there is nothing returned Arguments to the method. This method must be given an array of String, and the array will be called ‘args’ Opening brace of the method Every statement MUST end in a semicolon! A string you want to print This says print to standard output (defaults to command-line) Closing brace of the method Closing brace of the MyFirstApp class The name of the method DONT WORRY ABOUT MEMORIZING ANYTHING RIGHT NOW… THIS IS JUST SOMETHING TO GET THAT SWEET JAVA AMORA IN THE AIR
  • 2. The main thing is to keep the main thing the main thing. ~ Stephen Covey When the JVM (Java Virtual Machine) starts running, it looks for the class you give it at the command line. Then it starts looking for a specifically-written method that looks exactly like: public static void main (String [ ] args) { //your code goes here } What’s this? This is called the “main” method, and the JVM runs everything between the curly braces { } of this main method. Every Java application has to have as least one class, and at least one main method. (NOT one main per class; just one main per application). The main( ) method tells the computer where to start, and you only need one starting place.
  • 3. What can the main method do? Your code can tell the JVM to: 1 do something int x = 3; String name = “Kyle”; x = x +17; System.out.print(“x is “ + x); double d = Math.random(); //this is a comment Statements: declarations, assignments, method calls, etc. 2 do something again and again while (x >12) { x = x + 1; } for (int x = 0; x < 10; x = x + 1) { System.out.print(“x is now “+ x); } Loops: for and while 3 do something under this condition if (x == 10) { System.out.print(“x must be 10”); } else { System.out.print(“x isn’t 10”); } if ((x < 3) & (name.equals(“Kyle”))) { System.out.println(“Gently”); } System.out.print(“This line runs no matter what”); Branching: if…else tests
  • 4. Syntax Fun Each statement must end in a semicolon: x = x + 1; A single-line comment begins with two forward slashes: x = 22; //this is a comment Most white space doesn’t matter: x = 3 ; Variables are declared with a name and a type (you’ll learn about all the Java types in chapter 3). int weight; //type: int, name: weight Classes and methods must be defined within a pair of curly braces. public void go( ) { //amazing code here }
  • 5. Looping, Looping, Looping Java offers three types of looping structures: while, do-while, and for. We’ll discuss the others later, but for now we will only discuss while. The while loop keeps looping as long as some condition is true, this is called the conditional test. What is done on each loop is found inside the loop block, which is located after the conditional testc uwriltyh in braces. while (moreBalls == true) { keepJuggling( ); } The key to a loop is a conditional test. In Java, a conditional test is an expression that results in a boolean value – in other words, something that is either true or false.
  • 6. Simple Boolean Tests You can do a simple boolean test by checking the value of a variable, using a comparison operator including: < (less than) > (greater than) == (equality) Yes that is TWO equal signs. Notice the difference: the assignment operator is = and the equality operator is ==. Lots of programmers accidently type = when they want ==, but not you  int x = 4; //assign 4 to x while (x > 3) { // loop code will run because // x is greater than 3 x = x – 1; } int z = 27; while (z == 17) { // loop code will not run because // z is not equal to 17 }
  • 7. Example of a while loop public class Loopy { public static void main (String[ ] args) { int x = 1; System.out.println(“Before the Loop.”); while (x < 4) { System.out.println(“In the loop”); System.out.println(“Value of x is “ + x); x = x + 1; } System.out.println(“This is after the loop”); } } Let’s see how it works
  • 8. Conditional Branching public class IfTest { public class IfTest { public static void main (String[ ] args) { int x = 3; if (x == 3) { System.out.print(“x must be 3”); } System.out.print(“This runs no matter what”); } } public static void main (String[ ] args) { int x = 3; if (x == 3) { System.out.println(“x must be 3”); } System.out.println(“This runs no matter what”); } } What’s different?
  • 9. Conditional Branching public class IfTest { public static void main (String[ ] args) { int x = 3; if (x == 3) { System.out.println(“x must be 3”); } else { System.out.println(“x is NOT 3”); } System.out.println(“This runs no matter what”); } } What about this one? What is this?
  • 10. Coding a Serious Business Application With the tools we have covered up to this point you have just about enough skills to code your first program. Who knows the lyrics to “99 Bottles of Beer on the Wall”? So how do we do it, what do we need?
  • 11. Be Prepared ~ Robert Baden-Powell Before you start programming begin with creating prepcode. A form or pseudocode, to help you focus on the logic without stressing about syntax. Use keywords like: METHOD IF ELSE GET DECLARE RETURN ASSIGN CONVERT WHILE PRINT INCREMENT DECREMENT COMPARE CHECK SET REPEAT EQUALS
  • 12. What would the prepcode look like for “99 bottles of beer on the wall”? Prepcode for “99 bottles of beer on the wall”. DECLARE counter SET to 99 REPEAT until counter EQUALS 1 PRINT counter + “bottles of beer on the wall,” PRINT counter + “bottles of beer.” PRINT “Take one down and pass it around,” DECREMENT counter IF counter EQUALS 1 PRINT counter + “bottle of beer on the wall.” END IF ELSE PRINT counter + “bottles of beer on the wall.” END ELSE END REPEAT PRINT counter + “bottle of beer on the wall,” PRINT counter + “bottle of beer.” PRINT “Take one down and pass it around,” PRINT “no more bottles of beer on the wall.”
  • 13. Homework! Practice writing prepcode. Install Eclipse. Experiment with writing your first Java program. Quizzes start next week