GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — if-class/callbyvalue.java at master · charan100/if-class Expand file tree/ Copy pathcallbyvalue.javaMore file actions 16 lines (12 loc) · 347 Bytes / Copy pathcallbyvalue.javaFile metadata and controls16 lines (12 loc) · 347 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 class Operation{ int data=10; void change(int data){ data=data+100;//changes will be in the local variable only } public static void main(String args[]){ Operation op=new Operation(); System.out.println("before change "+op.data); op.change(500); System.out.println("after change "+op.data); } } |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |