网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
单选题
If this source code is contained in a file called SmallProg.java, what command should be used to compile it using the JDK?() public class SmallProg { public static void main(String args[]) { System.out.println("Good luck!"); } }
A
java SmallProg
B
avac SmallProg
C
javac SmallProg.java
D
java SmallProg main
参考答案
参考解析
解析:
暂无解析
更多 “单选题If this source code is contained in a file called SmallProg.java, what command should be used to compile it using the JDK?() public class SmallProg { public static void main(String args[]) { System.out.println("Good luck!"); } }A java SmallProgB avac SmallProgC javac SmallProg.javaD java SmallProg main” 相关考题
考题
The other main source of revenue for a bank is fee income, or called ______ income.A.interestB.commissionC.serviceD.net
考题
You are hosting a Windows Communication Foundation (WCF) service under Microsoft Interent Information Services (IIS) 7.0.You have set up a web site in IIS Manager. The physical path is c:\wwwroot\Calendar.There is a Calendar.svc file in the c:\wwwroot\Calendar folder. It contains the following directive:% @ServiceHost Language=C Debug=true Service=Calendar.Calendar CodeBehind=CalendarSvc.cs %The CalendarSvc.cs file contains the source for the Calendar class in the Calendar namespace.You compile this code into the Calendar.dll file. You need to deploy your service to the web site. What should you do?()A. Copy the Calendar.dll file to the c:\wwwroot\Calendar\code folderB. Copy the Calendar.dll file to the c:\wwwroot\Calendar\bin folderC. Copy the Calendar.svc.cs file to the c:\wwwroot\Calendar\bin folderD. Copy the Calendar.svc.cs file to the c:\wwwroot\Calendar\code folder
考题
Certkiller .com‘s e-Commerce Web application contains a page named Products.aspx that uses data source and data-bound server controls. Customers use the server controls to search for products. The Products.aspx page does not have an associated code-behind file. You need to convert the Products.aspx page to a user control so that its functionality can be reused on other pages.What should you do?()A.Move the Products.aspx page to the App_Code folder.B.Create a code-behind file for the Products.aspx page.C.Rename the Products.aspx page to Products.ascx..D.Remove all server controls from the Products.aspx page.E.Replace the Page directive with a Control directive.
考题
The(72)turns the source file into an object file and the(73)turns the object file into an executable file.A.translatorB.compilerC.interpreterD.linker
考题
Which of one the following fields is contained within an IEEE Ethernet frame header?()
A. source and destination MAC addressB. source MAC address and destination network address onlyC. source and destination network address onlyD. source network address and destination MAC addressE. source and destination MAC address and source and destination network address
考题
If this source code is contained in a file called SmallProg.java, what command should be used to compile it using the JDK?() public class SmallProg { public static void main(String args[]) { System.out.println("Good luck!"); } } A、java SmallProgB、avac SmallProgC、javac SmallProg.javaD、java SmallProg main
考题
Which of one the following fields is contained within an IEEE Ethernet frame header?()A、source and destination MAC addressB、source MAC address and destination network address onlyC、source and destination network address onlyD、source network address and destination MAC addressE、source and destination MAC address and source and destination network address
考题
Which of the following performance tools will work with optimized code and also provides source statement profiling?()A、 profB、 gprofC、 kprofD、 tprof
考题
Which command(s) will result in the smallest sized backup of the text files contained in the /staticFS filesystem?() A、tar -cvf file_system.tar /staticFS ; gzip file_system.tarB、tar -xvf /staticFS file_system.tar ; gzip file_system.tarC、tar -cvf /staticFS file_system.tar ; compress file_system.tarD、tar -xvf file_system.tar /staticFS ; compress file_system.tar
考题
Which of the following are contained in a store archive?()A、a JAR file containing commands and JSPsB、an XML file defining the content of the store archiveC、a ZIP file of Java properties files containing translated textD、a database backup file used to define store dataE、a number of ZIP files used to define store data
考题
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
考题
The file “file.txt” exists on the file system and contsins ASCII text. Given: try { File f = new File(“file.txt”); OutputStream out = new FileOutputStream(f, true); } catch (IOException) {} What is the result?()A、 The code does not compile.B、 The code runs and no change is made to the file.C、 The code runs and sets the length of the file to 0.D、 An exception is thrown because the file is not closed.E、 The code runs and deletes the file from the file system.
考题
In your Certkiller .com database server the parameter PLSQL_CODE_TYPE has been set to NATIVE. Which object would be achieved by the setting?()A、The source PL/SQL code will be stored in native machine code.B、The source PL/SQL code will be stored in interpreted byte code.C、The compiled PL/SQL code will be stored in native machine code.D、The compiled PL/SQL code will be stored in interpreted byte code.
考题
You write a procedure that will be called from two level triggers and a database trigger. Where should you store this code? ()A、On the Oracle server. B、Locally in each form module. C、In an attached PL/SQL library D、On your file network server.
考题
You create a Web page named TestPage.aspx and a user control named TestUserControl.ascx. TestPage.aspx uses TestUserControl.ascx as shown in the following line of code. On TestUserControl.ascx, you need to add a read-only member named CityName to return the value "New York". You also must add code to TestPage.aspx to read this value. Which two actions should you perform?()A、Add the following line of code to the TestUserControl.ascx.cs code-behind file. public string CityName { get { return "New York"; } } B、Add the following line of code to the TestUserControl.ascx.cs code-behind file. protected readonly string CityName = "New York"; C、Add the following code segment to the TestPage.aspx.cs code-behind file. protected void Page_Load(object sender, EventArgs e) { string s = testControl.CityName; } D、Add the following code segment to the TestPage.aspx.cs code-behind file. protected void Page_Load(object sender, EventArgs e) { string s = testControl.Attributes["CityName"]; }
考题
You are implementing an ASP.NET page that will retrieve large sets of data from a data source. You add a ListView control and a DataPager control to the page. You need to ensure that the data can be viewed one page at a time. What should you do?()A、Set the DataPager control’s PageSize property to the number of rows to view at one time.B、Set the DataPager control’s PagedControlID property to the ID of the ListView control.C、In the code-behind file, set the DataPager control’s Parent property to the ListView control.D、In the code-behind file, set the ListView control’s Parent property to the DataPager control.
考题
单选题In your Supportcenter.cn database server the parameter PLSQL_CODE_TYPE has been set to NATIVE. Which object would be achieved by the setting?()A
The source PL/SQL code will be stored in native machine code.B
The source PL/SQL code will be stored in interpreted byte code.C
The compiled PL/SQL code will be stored in native machine code.D
The compiled PL/SQL code will be stored in interpreted byte code.
考题
多选题Which of the following are contained in a store archive?()Aa JAR file containing commands and JSPsBan XML file defining the content of the store archiveCa ZIP file of Java properties files containing translated textDa database backup file used to define store dataEa number of ZIP files used to define store data
考题
单选题In your Certkiller .com database server the parameter PLSQL_CODE_TYPE has been set to NATIVE. Which object would be achieved by the setting?()A
The source PL/SQL code will be stored in native machine code.B
The source PL/SQL code will be stored in interpreted byte code.C
The compiled PL/SQL code will be stored in native machine code.D
The compiled PL/SQL code will be stored in interpreted byte code.
考题
单选题You are hosting a Windows Communication Foundation (WCF) service under Microsoft Interent Information Services (IIS) 7.0. You have set up a web site in IIS Manager. The physical path is c:/wwwroot/Calendar. There is a Calendar.svc file in the c:/wwwroot/Calendar folder. It contains the following directive: The CalendarSvc.cs file contains the source for the Calendar class in the Calendar namespace. You compile this code into the Calendar.dll file. You need to deploy your service to the web site. What should you do?()A
Copy the Calendar.dll file to the c:/wwwroot/Calendar/code folderB
Copy the Calendar.dll file to the c:/wwwroot/Calendar/bin folderC
Copy the Calendar.svc.cs file to the c:/wwwroot/Calendar/bin folderD
Copy the Calendar.svc.cs file to the c:/wwwroot/Calendar/code folder
考题
单选题The file “file.txt” exists on the file system and contsins ASCII text. Given: try { File f = new File(“file.txt”); OutputStream out = new FileOutputStream(f, true); } catch (IOException) {} What is the result?()A
The code does not compile.B
The code runs and no change is made to the file.C
The code runs and sets the length of the file to 0.D
An exception is thrown because the file is not closed.E
The code runs and deletes the file from the file system.
考题
单选题Given that file is a reference to a File object that represents a directory, which code fragments will succeed in obtaining a list of the entries in the directory?()A
Vector filelist = ((Directory) file).getList();B
String[] filelist = file.directory();C
Enumeration filelist = file.contents();D
String[] filelist = file.list();E
Vector filelist = (new Directory(file)).files();
考题
单选题Which traffic descriptor s can be recognized and categorized by cisco quality of service(qos)features?()A
incoming interface.outgoing interface.ip precedence.and differentiated services code P.oint(DSCP).B
Incoming interace.ip precedence.differentiated services code point(DSCP),and source or d.estination address.C
Outgoing interface.ip precedence.differentiated services code point(DSCP).and source or d.estination address.D
Incoming interface .outgoing interface.ip precedence and differentiated code point s.ervices(DCPS)E
Incoming interface .ip precedence .and source or destination address. F
Outgoing interface.ip precedence .and source or destination address.
考题
单选题You write a procedure that will be called from two level triggers and a database trigger. Where should you store this code? ()A
On the Oracle server. B
Locally in each form module. C
In an attached PL/SQL library D
On your file network server.
考题
单选题The ratio of the weight of moisture contained in a given volume of air, to the weight of moisture that the same sample would hold if saturated, is called the().A
absolute humidityB
relative humidityC
specific humidityD
total humidity
考题
多选题Certkiller .com's e-Commerce Web application contains a page named Products.aspx that uses data source and data-bound server controls. Customers use the server controls to search for products. The Products.aspx page does not have an associated code-behind file. You need to convert the Products.aspx page to a user control so that its functionality can be reused on other pages. What should you do?()AMove the Products.aspx page to the App_Code folder.BCreate a code-behind file for the Products.aspx page.CRename the Products.aspx page to Products.ascx.DRemove all server controls from the Products.aspx page.EReplace the Page directive with a Control directive.
考题
单选题You are implementing an ASP.NET page that will retrieve large sets of data from a data source. You add a ListView control and a DataPager control to the page. You need to ensure that the data can be viewed one page at a time. What should you do?()A
Set the DataPager control’s PageSize property to the number of rows to view at one time.B
Set the DataPager control’s PagedControlID property to the ID of the ListView control.C
In the code-behind file, set the DataPager control’s Parent property to the ListView control.D
In the code-behind file, set the ListView control’s Parent property to the DataPager control.
热门标签
最新试卷