Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes chapter3 KB (passing primitive variables) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Reply locked New topic

chapter3 KB (passing primitive variables)

Syed Naimathullah

Joined: Feb 18, 2007
Posts: 17
How program flow is going can any body explain me in detail .

class ReferenceTest
public static void main(String[] args)
int a=1;
ReferenceTest rt=new ReferenceTest();
System.out.println("Before modify() a="+a);
System.out.println("After modify() a="+a);
void modify(int number)
I agree. Here's the link:
subject: chapter3 KB (passing primitive variables)
It's not a secret anymore!