Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class apples{
- public static void main(String[] args){
- int bucky[]={3,4,5,6,7};
- change(bucky);
- for(int y:bucky)
- System.out.println(y);
- }
- public static void change(int x[]){
- for(int counter=0;counter<x.length;counter++)
- x[counter]+=5;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement