home *** CD-ROM | disk | FTP | other *** search
/ Java by Example / jbecd.bin / JBE-CD / JavaByExample / chap09 / lst9_4.txt < prev    next >
Encoding:
Text File  |  1996-02-05  |  98 b   |  12 lines

  1. if (choice == 1)
  2. {
  3.     num = 1;
  4.     num2 = 10;
  5. }
  6. else
  7. {
  8.     num = 2;
  9.     num2 = 20;
  10. }
  11.  
  12.