READ Free Dumps For Oracle- 1z0-851
Question ID 3788 | Given classes defined in two different files: |
Option A | A. process(bytes); |
Option B | B. BitUtils.process(bytes); |
Option C | C. app.BitUtils.process(bytes); |
Option D | D. util.BitUtils.process(bytes); |
Option E | E. import util.BitUtils.*; process(bytes); |
Option F | F. SomeApp cannot use the process method in BitUtils. |
Correct Answer | F |
Question ID 3789 | A UNIX user named Bob wants to replace his chess program with a new one, but he is not sure where the old one is installed. Bob is currently able to run a Java chess program starting from his home directory /home/bob using the command: java -classpath /test:/home/bob/downloads/*.jar games.Chess Bob's CLASSPATH is set (at login time) to: /usr/lib:/home/bob/classes:/opt/java/lib:/opt/java/lib/*.jar What is a possible location for the Chess.class file? |
Option A | A. /test/Chess.class |
Option B | B. /home/bob/Chess.class |
Option C | C. /test/games/Chess.class |
Option D | D. /usr/lib/games/Chess.class |
Correct Answer | C |