Cp l8 comments_and_subroutines

203 views

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
203
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
2
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Cp l8 comments_and_subroutines

  1. 1. Computer Programming Comments and Sub-Routines
  2. 2. //
  3. 3. /**/
  4. 4. public void myFunction (int inputValue){ // Your code goes here}
  5. 5. public int myFunction (int inputValue){ // Your code goes here return (newIntValue);}
  6. 6. Next Time:• Examples• More examples• And even more examples

×