Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Ex8s6 {
- public static void main(String[] shalom){
- int n=0;
- for(int i =0;i<5;i++){
- n = f(n++);
- }
- System.out.println(n);
- }
- public static int f(int n){
- return n++;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement