2001Fall

Methodargs systemoutprintlnargs0 args1 static

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview:    )* Rodent   Rat   Mouse+ Mouse    PocketMouse      Rodent rod; Rat rat = new Rat(); Mouse mos = new Mouse(); PocketMouse pkt = new PocketMouse();       " (      a. rod = rat; b. rod = mos; c. pkt = null; d. pkt = rat;  &*  "       )               (  "(,  ( Rat#Mouse#PocketMouse   a. Rat array = new Rat[10]; b. Rodent array = new Rat[10]; c. Rodent array = new Rodent[10]; d. Rodent[10] array;   -     .!/*" try{}0   *       try{}0  1     (  %      try{}0   1 (   (  %      try{}      (  % try{}0"     catch{}0    2                                   "#  methodA methodB$ methodB methodCMethodC   %  NumberFormatException&   %  methodA   '  ( 3#   ( "   methodC    #methodB 3#methodC"     (  4 #     methodC  throws NumberFormatException 4 #     methodCmethodB ...throws NumberFormatException  5 1 " DataOutpu...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online