brentwoodhigh.com

cplusplus.com | Java Documentation | w3schools.com | Site Stats
Game | Food Drink | Leave Room | Classroom Tardy | Backpack | Music Cell |
Coding I Schedule | Coding I LogIn | Coding I Archive | Coding I Resources |
Coding II Schedule | Coding II LogIn | Coding II Archive | Coding II Resources |
CSF schedule | CSF LogIn | CSF Archive | CSF Resources |

Chapter 3

 

Textbook PowerPoint - all pages covered

Slideshows by sections as presented in class

pgs 132-140 Anatomy of a Method
pgs 141-156 Calling Class Methods
pgs 157-164 Writing Your Own Class Methods
pgs 164-180 Types of Parameters ; Named and Optional Parameters

 

METHODS AND BEHAVIORS 131

Anatomy of a Method 132

Modifiers 134
Return Type 137
Method Name 138
Parameters 138
Method Body 139

Calling Class Methods 141

Predefined Methods 143

Writing Your Own Class Methods 157

Void Methods 157
Value-Returning Method

Types of Parameters 164

Named and Optional Parameters 169

Default Values with Optional Parameters 170
Named Parameters 171

Coding Standards 180

Naming Conventions 180
Spacing Conventions 180
Declaration Conventions 180
Commenting Conventions 181

Resources 181

Quick Review 181

Exercises 182

Programming Exercises Labs 189

1. School Information pt 1.
1. School Information pt 2.
2. Message Display
3. Area and Perimeter
4. Time
5. Temperature
6. Distance
7. Tips
8. Take Home Pay
9. Commission
10. Property Tax

 

 

 

 

 

METHODS AND BEHAVIORS 131 Anatomy of a Method 132 Modifiers 134 Return Type 137 Method Name 138 Parameters 138 Method Body 139 Calling Class Methods 141 Predefined Methods 143 Writing Your Own Class Methods 157 Void Methods 157 Value-Returning Method

 

 

 

 

 

 

 

 

 

Updated: Monday, September 10, 2018 7:19 AM

About Us | Contact Us | ©2005 brentwoodhigh.com