Which three code fragments, added individually at line 29, produce the output 100?

Refer to the Exhibit. Which three code fragments, added individually at line 29, produce the
output 100? (Choose three.)

Refer to the Exhibit. Which three code fragments, added individually at line 29, produce the
output 100? (Choose three.)

A.
n = 100;

B.
i.setX( 100 );

C.
o.getY().setX( 100 );

D.
i = new Inner(); i.setX( 100 );

E.
o.setY( i ); i = new Inner(); i.setX( 100 );

F.
i = new Inner(); i.setX( 100 ); o.setY( i );



Leave a Reply 0

Your email address will not be published. Required fields are marked *