A class games.cards.Poker is correctly defined in the jar file Poker.jar. A user wants to execute the main method of Poker on a UNIX system using the command: java games.cards.Poker What allows the user to do this?()
第1题:
A UNIX user named Bob wants to replace his chess program with a new one,but he is hot sure where the old one is in stalled.Bob is currently able to run a Java chess program starting from his home directory/home/bobusingthecommand: java-classpath/test:/home/bob/downloads/*.jargames.ChessBob’sCLASSPATHisset(atlogintime)to: /usr/lib:/home/bob/classes:/opt/java/lib:/opt/java/lib/*.jar What is a possible location for the Chess.class file?()
第2题:
Given a correctly compiled class whose source code is: package com.sun.sjcp; public class Commander { public static void main(String[] args) { // more code here } } Assume that the class file is located in /foo/com/sun/sjcp/, the current directory is /foo/, and that the classpath contains “.“ (current directory). Which command line correctly runs Commander?()
第3题:
A class games.cards.Poker is correctly defined in the jar file Poker.jar. A user wants to execute the main method of Poker on a UNIX system using the command:java games.cards. Poker What allows the user to do this?()
第4题:
A UNIX user named Bob wants to replace his chess program with a new one, but he is not sure where theold one is installed. Bob is currently able to run a Java chess program starting from his home directory /home/bob using thecommand: 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?()
第5题:
A UNIX user named Bob wants to replace his chess program with a new one, but he is not sure where theold 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'sCLASSPATH 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?()
第6题:
You issued the following command at the UNIX environment: % setenv ORA_SDTZ ’OZ_TZ’ What will be the impact of issuing the above command?()
第7题:
put Poker.jar in directory /stuff/java,and set the CLASSPATH to include /stuff/java
put Poker.jar in directory /stuff/java,and set the CLASSPATH to include /stuff/java/*.jar
Put Poker.jar in directory /stuff/java,and set the CLASSPATH to include /stuff/java/Poker.jar
put Poker.jar in directory /stuff/java/games/cards,and set the CLASSPATH to include /stuff/java
put Poker.jar in directory /stuff/java/games/cards,and set the CLASSPATH to include /stuff/java/*.jar
put Poker.jar in directory /stuff/java/games/cards,and set the CLASSPATH to include /stuff/java/Poker.jar
第8题:
The user has a UID less than 200
The user has been defined as an administrative user
The file /usr/es/sbin/cluster/clpasswd is not executable by the user
The user needs explicit authorization to change their password cluster-wide
第9题:
/test/Chess.class
/home/bob/Chess.class
/test/games/Chess.class
/usr/lib/games/Chess.class
/home/bob/games/Chess.class
第10题:
put Poker.jar in directory /stuff/java, and set the CLASSPATH to include /stuff/java
put Poker.jar in directory /stuff/java, and set the CLASSPATH to include /stuff/java/*.jar
put Poker.jar in directory /stuff/java, and set the CLASSPATH to include /stuff/java/Poker.jar
put Poker.jar in directory /stuff/java/games/cards, and set the CLASSPATH to include /stuff/java
第11题:
java SmallProg
avac SmallProg
javac SmallProg.java
java SmallProg main
第12题:
/test/Chess.class
/home/bob/Chess.class
/test/games/Chess.class
/usr/lib/games/Chess.class
/home/bob/games/Chess.class
inside jarfile /opt/java/lib/Games.jar (with a correct manifest)
inside jarfile /home/bob/downloads/Games.jar (with a correct manifest)
第13题:
A class games.cards.Poker is correctly defined in the jar file Poker.jar. A user wants to execute the main method of Poker on a UNIX system using the command: java games.cards.Poker What allows the user to do this?()
第14题:
A UNIX user named Bob wants to replace his chess program with a new one, but he is hot 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?()
第15题:
A developer is creating a class Book, that needs to access class Paper. The Paper class is deployed in a JAR named myLib.jar. Which three, taken independently, will allow the developer to use the Paper class while compiling the Book class?()
第16题:
A UNIX user named Bob wants to replace his chess program with a new one, but he is not sure where theold 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?()
第17题:
A developer is creating a class Book, that needs to access class Paper. The Paper class is deployed in a JAR named myLib.jar. Which three, taken independently, will allow the developer to use the Paper class while compiling the Bookclass?()
第18题:
You are designing a strategy for migrating the UNIX user accounts to Active Directory. Which three actions should you perform?()
第19题:
java Commander
java com. sim. sjcp.Commander
java com/sun/sjcp/Commander
java -cp com.sun.sjcp Commander
java -cp com/sun/sjcp Commander
第20题:
The operating system local time zone will be set for a user session using the operating system environment variable.
The database local time zone will be set for a user session using the operating system environment variable.
The operating system local time zone will be set for the database using the operating system environment
The database local time zone will be set for the database using the operating system environment variable.
第21题:
put Poker.jar in directory /stuff/java, and set the CLASSPATH to include /stuff/java
put Poker.jar in directory /stuff/java, and set the CLASSPATH to include /stuff/java/*.jar
put Poker.jar in directory /stuff/java, and set the CLASSPATH to include /stuff/java/Poker.jar
put Poker.jar in directory /stuff/java/games/cards, and set the CLASSPATH to include /stuff/java
第22题:
/test/Chess.class
/home/bob/Chess.class
/test/games/Chess.class
/usr/lib/games/Chess.class
/home/bob/games/Chess.class
第23题:
/test/Chess.class
/home/bob/Chess.class
/test/games/Chess.class
/usr/lib/games/Chess.class
/home/bob/games/Chess.class