






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
An overview of processing input and parameters in java, focusing on reading command line input using bufferedreader and inputstreamreader, and the use of stringtokenizer for breaking apart strings. It includes examples and explanations of various methods and techniques.
Typology: Study notes
1 / 10
This page cannot be seen from the preview
Don't miss anything!







© 2005 Sarah E. Smith
CSC 116 – Section 002 March 14, 2005
© 2005 Sarah E. Smith
© 2005 Sarah E. Smith
© 2005 Sarah E. Smith
© 2005 Sarah E. Smith
© 2005 Sarah E. Smith
© 2005 Sarah E. Smith
© 2005 Sarah E. Smith
© 2005 Sarah E. Smith
amt=yConvert.fromD(200);
Memory
public double fromDollar(double d) { double amt, fee; fee = er – fr; amt = d * fee; return amt; }
amt
fee
amt
d 200.
© 2005 Sarah E. Smith
amt=yConvert.fromD(200);
Memory
public double fromDollar(double d) { double amt, fee; fee = er – fr; amt = d * fee; return amt; }
amt
fee 124.
amt 24846.
d 200.
© 2005 Sarah E. Smith
amt=yConvert.fromD(200);
Memory
public double fromDollar(double d) { double amt, fee; fee = er – fr; amt = d * fee; return amt; }
amt 24846.
© 2005 Sarah E. Smith
int x = 10; int y = 20; tester.myMethod(x,y);
Memory
public void myMethod (int one, double two) { one = 25; two = 35.4; }
y 20
x 10
© 2005 Sarah E. Smith
int x = 10; int y = 20; tester.myMethod(x,y);
Memory
public void myMethod (int one, double two) { one = 25; two = 35.4; }
y 20
x 10
© 2005 Sarah E. Smith