网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
多选题
Given: And MainClass exists in the /apps/com/company/application directory. Assume the CLASSPATH environment variable is set to "." (current directory). Which two java commands entered at the commandline will run MainClass?()
A
java MainClass if run from the /apps directory
B
java com.company.application.MainClass if run from the /apps directory
C
java -classpath /apps com.company.application.MainClass if run from any directory
D
java -classpath . MainClass if run from the /apps/com/company/application directory
E
java -classpath /apps/com/company/application:. MainClass if run from the /apps directory
参考答案
参考解析
解析:
暂无解析
更多 “多选题Given: And MainClass exists in the /apps/com/company/application directory. Assume the CLASSPATH environment variable is set to "." (current directory). Which two java commands entered at the commandline will run MainClass?()Ajava MainClass if run from the /apps directoryBjava com.company.application.MainClass if run from the /apps directoryCjava -classpath /apps com.company.application.MainClass if run from any directoryDjava -classpath . MainClass if run from the /apps/com/company/application directoryEjava -classpath /apps/com/company/application:. MainClass if run from the /apps directory” 相关考题
考题
package com.company.application;public class MainClass{public static void main(String[]args){}}And Main Class exists in the/apps/com/company/application directory.Assume the CLASSPATH environment variable is set to.”(currentdirectory).Which two java commands entered at the command line will run MainClass()A.java MainClass if run from the/apps directoryB.javacom.company.application.MainClass if run from the/apps directoryC.java-classpath/appscom.company.application.MainClass if run fro many directoryD.java-classpath.MainClass if run fromt he/apps/com/company/application directoryE.java-classpath/apps/com/company/application:.MainClass if run from the/apps directoryF.javacom.company.application.MainClassifrunfromthe/apps/com/company/application directory
考题
package com.sun.sjcp;public class Commander{public static void main(String[]args){//more code here}}Assume that the class fileis located in /foo/com/sun/sjcp/,the current directory is/foo/,and that the classpath contains.(current directory).Which command line correctly runs Commander?()A.java CommanderB.java com.sim.sjcp.CommanderC.java com/sun/sjcp/CommanderD.java-cpcom.sun.sjcp CommanderE.java-cpcom/sun/sjcp Commander
考题
packagecom.company.application;publicclassMainClass{publicstaticvoidmain(String[]args){}}AndMainClassexistsinthe/apps/com/company/applicationdirectory.AssumetheCLASSPATHenvironmentvariableissetto.(currentdirectory).WhichtwojavacommandsenteredatthecommandlinewillrunMainClass?()A.javaMainClassifrunfromthe/appsdirectoryB.javacom.company.application.MainClassifrunfromthe/appsdirectoryC.java-classpath/appscom.company.application.MainClassifrunfromanydirectoryD.java-classpath.MainClassifrunfromthe/apps/com/company/applicationdirectoryE.java-classpath/apps/com/company/application:.MainClassifrunfromthe/appsdirectoryF.javacom.company.application.MainClassifrunfromthe/apps/com/company/applicationdirectory
考题
Given:And MainClass exists in the /apps/com/company/application directory. Assume the CLASSPATHenvironment variable is set to . (current directory). Which two java commands entered at the command line will run MainClass?()A.java MainClass if run from the /apps directoryB.java com.company.application.MainClass if run from the /apps directoryC.java -classpath /apps com.company.application.MainClass if run from any directoryD.java -classpath . MainClass if run from the /apps/com/company/application directoryE.java -classpath /apps/com/company/application:. MainClass if run from the /apps directoryF.java com.company.application.MainClass if run from the /apps/com/company/application directory
考题
Given:Which two can be results?()
A. java.lang.RuntimeException: ProblemB. run.java.lang.RuntimeException: ProblemC. End of method.java.lang.RuntimeException: ProblemD. End of method.run.java.lang.RuntimeException: ProblemE. run.java.lang.RuntimeException: Problem End of method.
考题
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?() A、 put Poker.jar in directory /stuff/java, and set the CLASSPATH to include /stuff/javaB、 put Poker.jar in directory /stuff/java, and set the CLASSPATH to include /stuff/java/*.jarC、 Put Poker.jar in directory /stuff/java, and set the CLASSPATH to include /stuff/java/Poker.jarD、 put Poker.jar in directory /stuff/java/games/cards, and set the CLASSPATH to include /stuff/javaE、 put Poker.jar in directory /stuff/java/games/cards, and set the CLASSPATH to include /stuffijava/*.jarF、 put Poker.jar in directory /stuff/java/games/cards, and set the CLASSPATH to include /stuff/java/Poker.jar
考题
package com.sun.sjcp; public class Commander{ public static void main(String[]args){ //more code here } } Assume that the class fileis located in /foo/com/sun/sjcp/,the current directory is/foo/,and that the classpath contains“.“(current directory). Which command line correctly runs Commander?()A、java CommanderB、java com.sim.sjcp.CommanderC、java com/sun/sjcp/CommanderD、java-cpcom.sun.sjcp CommanderE、java-cpcom/sun/sjcp Commander
考题
You are an enterprise administrator for Cer-tech .com. The corporate network of the company consists ofan Active Directory domain. All the servers on the network run Windows Server 2008. The network runs aTerminal server named Server02 to enable remote users to run commonly required applications from theirterminal. You have recently been asked to deploy a Terminal Services application called App1 on Server02. To deploy the application, you first confirmed from the application vendor that the applicationcan be deployed in a Terminal Services environment. The features of App1 are that it does not use Microsoft Windows Installer packages for installation and makes changes to the current user registry duringinstallation. Which of the following options would you choose to install the application to support multipleuser sessions?()A、Run the change user /install command on Server02B、Install the applicationC、Run the change user /execute command on Server02D、Run the change logon /disable command on Server02
考题
Users are reporting problems connecting to servers in the remote company.com domain. The administrator suspects this to be a DNS problem. Which of the following commands would the administrator run to identify the DNS server of the remote company.com?()A、dig company.com nsB、ipconfig/allC、ifconfig-aD、dig company.com mx
考题
During a boot, which of the following procedures is most likely to present a menu that prompts the user to copy a dump?()A、 Set the dump device to /dev/hd6. B、 Run sysdumpdev to set the force copy flag for dump to true. C、 Run sysdumpdev to set the force copy flag for dump to false. D、 Increase space in the /tmp directory.
考题
A file named "core" exists in the current directory. Which of the following commands should be used to determine what created the "core" file?()A、 dump -t core B、 strings core C、 trace -a core D、 crash core /unix_up
考题
A manufacturer is deploying a custom application to serve their customers. The application is written to take advantage of multithreading features and run in a Windows environment. To determine the processor family that will run the application most efficiently, which TWO questions will provide the required information?()A、What is the application’s maximum processor scaling capability?B、Will the application run faster with Microsoft OLTP technology?C、Will the application benefit from larger disk cache and swap space?D、Can the application use Hot Swap Processor, Memory, and PCI-X technology?E、Is the application able to run in a 32 bit, 64 bit, or mixed environment?
考题
A user would like their shell prompt to reflect the current directory. Which of the following environment variables can be set to accomplish this?()A、PS1B、PATHC、PROMPTD、LOCPATH
考题
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?()A、put Poker.jar in directory /stuff/java,and set the CLASSPATH to include /stuff/javaB、put Poker.jar in directory /stuff/java,and set the CLASSPATH to include /stuff/java/*.jarC、Put Poker.jar in directory /stuff/java,and set the CLASSPATH to include /stuff/java/Poker.jarD、put Poker.jar in directory /stuff/java/games/cards,and set the CLASSPATH to include /stuff/javaE、put Poker.jar in directory /stuff/java/games/cards,and set the CLASSPATH to include /stuff/java/*.jarF、put Poker.jar in directory /stuff/java/games/cards,and set the CLASSPATH to include /stuff/java/Poker.jar
考题
package com.company.application; public class MainClass { public static void main(String[] args) { } } And MainClass exists in the /apps/com/company/application directory. Assume the CLASSPATH environment variable is set to “.“ (current directory). Which two java commands entered at the command line will run MainClass?()A、 java MainClass if run from the /apps directoryB、 java com.company.application.MainClass if run from the /apps directoryC、 java -classpath /apps com.company.application.MainClass if run from any directoryD、 java -classpath . MainClass if run from the /apps/com/company/application directoryE、 java -classpath /apps/com/company/application:. MainClass if run from the /apps directoryF、 java com.company.application.MainClass if run from the /apps/com/company/application directory
考题
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?() A、 java CommanderB、 java com. sim. sjcp.CommanderC、 java com/sun/sjcp/CommanderD、 java -cp com.sun.sjcp CommanderE、 java -cp com/sun/sjcp Commander
考题
You work as a network Exchange administrator at Company.com.The Company.com network currently consists of a single Active Directory forest containing a single domain/ named Company.com.The functional level of the forest and domain are set at Windows Server 2003.The Company.com organization makes use of Microsoft Exchange Server 2003 Service Pack 2 (SP2) as their messaging solution.During the course of the business week you receive instruction from Company.com to start transitioning Exchange Server 2003 to Exchange Server 2010 whilst preparing the Active Directory environment for the deployment of Microsoft Exchange Server 2010.What should you do?()A、You should consider having the setup.com /PrepareLegacyExchangePermissions command run.B、You should consider having the setup.com /PrepareSchema command run.C、You should consider having the setup.com /PrepareAD command run.D、You should consider having the setup.com /PrepareDomain command run.
考题
Given the following directory structure: bigProject |--source | |--Utils.java | |--classes |-- And the following command line invocation: javac -d classes source/Utils.java Assume the current directory is bigProject,what is the result? ()A、If the compile is successful, Utils.class is added to the source directory.B、The compiler returns an invalid flag error.C、If the compile is successful, Utils.class is added to the classes directory.D、If the compile is successful, Utils.class is added to the bigProject directory.
考题
单选题You are developing an application that dynamically loads assemblies from an application directory. You need to write a code segment that loads an assembly named Company1.dll into the current application domain. Which code segment should you use?()A
AB
BC
CD
D
考题
单选题A file named "core" exists in the current directory. Which of the following commands should be used to determine what created the "core" file?()A
dump -t core B
strings core C
trace -a core D
crash core /unix_up
考题
单选题During a boot, which of the following procedures is most likely to present a menu that prompts the user to copy a dump?()A
Set the dump device to /dev/hd6. B
Run sysdumpdev to set the force copy flag for dump to true. C
Run sysdumpdev to set the force copy flag for dump to false. D
Increase space in the /tmp directory.
考题
单选题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?()A
java CommanderB
java com. sim. sjcp.CommanderC
java com/sun/sjcp/CommanderD
java -cp com.sun.sjcp CommanderE
java -cp com/sun/sjcp Commander
考题
多选题Given: And MainClass exists in the /apps/com/company/application directory. Assume the CLASSPATH environment variable is set to "." (current directory). Which two java commands entered at the commandline will run MainClass?()Ajava MainClass if run from the /apps directoryBjava com.company.application.MainClass if run from the /apps directoryCjava -classpath /apps com.company.application.MainClass if run from any directoryDjava -classpath . MainClass if run from the /apps/com/company/application directoryEjava -classpath /apps/com/company/application:. MainClass if run from the /apps directory
考题
单选题package com.sun.sjcp; public class Commander{ public static void main(String[]args){ //more code here } } Assume that the class fileis located in /foo/com/sun/sjcp/,the current directory is/foo/,and that the classpath contains“.“(current directory). Which command line correctly runs Commander?()A
java CommanderB
java com.sim.sjcp.CommanderC
java com/sun/sjcp/CommanderD
java-cpcom.sun.sjcp CommanderE
java-cpcom/sun/sjcp Commander
考题
多选题package com.company.application; public class MainClass{ public static void main(String[]args){} } And Main Class exists in the/apps/com/company/application directory.Assume the CLASSPATH environment variable is set to“.”(currentdirectory).Which two java commands entered at the command line will run MainClass()Ajava MainClass if run from the/apps directoryBjavacom.company.application.MainClass if run from the/apps directoryCjava-classpath/appscom.company.application.MainClass if run fro many directoryDjava-classpath.MainClass if run fromt he/apps/com/company/application directoryEjava-classpath/apps/com/company/application:.MainClass if run from the/apps directoryFjavacom.company.application.MainClassifrunfromthe/apps/com/company/application directory
考题
单选题You work as a network Exchange administrator at Company.com.The Company.com network currently consists of a single Active Directory forest containing a single domain named Company.com.The Company.com organization makes use of Microsoft Exchange Server 2010 as their messaging solution.Company.com recently decided to investigate a user named Rory Allen.During the course of the business week you receive instruction from Company.com to have Rory Allen prevented from deleting the items permanently from his mailbox. What should you do?()A
You should consider having the Set-Mailbox Rory Allen -RetainDeletedItemsUntilBackup $true command run.B
You should consider having the Set-Mailbox Rory Allen -RetentionHoldEnabled $true command run.C
You should consider having the Set-Mailbox Rory Allen -LitigationHoldEnabled $true command run.D
You should consider having the Set-Mailbox Rory Allen -ModerationEnabled $true command run.
考题
多选题A manufacturer is deploying a custom application to serve their customers. The application is written to take advantage of multithreading features and run in a Windows environment. To determine the processor family that will run the application most efficiently, which TWO questions will provide the required information?()AWhat is the application’s maximum processor scaling capability?BWill the application run faster with Microsoft OLTP technology?CWill the application benefit from larger disk cache and swap space?DCan the application use Hot Swap Processor, Memory, and PCI-X technology?EIs the application able to run in a 32 bit, 64 bit, or mixed environment?
考题
多选题package com.company.application; public class MainClass { public static void main(String[] args) { } } And MainClass exists in the /apps/com/company/application directory. Assume the CLASSPATH environment variable is set to “.“ (current directory). Which two java commands entered at the command line will run MainClass?()Ajava MainClass if run from the /apps directoryBjava com.company.application.MainClass if run from the /apps directoryCjava -classpath /apps com.company.application.MainClass if run from any directoryDjava -classpath . MainClass if run from the /apps/com/company/application directoryEjava -classpath /apps/com/company/application:. MainClass if run from the /apps directoryFjava com.company.application.MainClass if run from the /apps/com/company/application directory
热门标签
最新试卷