考题
publicclassX{publicstaticvoidmain(String[]args){strings=newstring(Hello”);modify(s);System.out.printIn(s);}publicstaticvoidmodify(Strings){s+=world!”;}}Whatistheresult?()
A.Theprogramrunsandprints“Hello”B.Anerrorcausescompilationtofail.C.Theprogramrunsandprints“Helloworld!”D.Theprogramrunsbutabortswithanexception.
考题
publicclassX{publicstaticvoidmain(Stringargs){inta=newint[1]modify(a);System.out.printIn(a[0]);}publicstaticvoidmodify(inta){a[0]++;}}Whatistheresult?()
A.Theprogramrunsandprints“0”B.Theprogramrunsandprints“1”C.Theprogramrunsbutabortswithanexception.D.Anerror“possibleundefinedvariable”atline4causescompilationtofail.E.Anerror“possibleundefinedvariable”atline9causescompilationtofail.
考题
publicclassX{publicstaticvoidmain(Stringargs){strings=newstring(Hello”);modify(s);System.out.printIn(s);}publicstaticvoidmodify(Strings){s+=world!”;}}Whatistheresult?()
A.Theprogramrunsandprints“Hello”B.Anerrorcausescompilationtofail.C.Theprogramrunsandprints“Helloworld!”D.Theprogramrunsbutabortswithanexception.
考题
TheadministratorwantstobackuptheexistingVIOserversoftwareanditscurrentconfigurationbeforeapplyinganupdate.WhatcommandwilltheadministratorusetobackuptheVIOserversoftwaresothatthebackupcanberestoredfromaNetworkInstallationManager(NIM)serveroraHardwareManagementConsole(HMC)?()A.mksysb-tvio/mountpointB.backupios-file/mountpointC.mksysb-i/mountpoint/vio.mksysbD.backupios-mksysb-file/mountpoint/vio.mksysb
考题
An administrator wants to restore the /etc/resolv.conf file from a mksysb backup onto server1. After the mksysb is mounted in /mnt/backup/ from the local nim server.Which command should be run to restore the file?()A.tar -xvf /mnt/backup/server1.mksysb ./etc/resolv.confB.restore -Tvf /mnt/backup/server1.mksysb ./etc/resolv.confC.listvgbackup -f /mnt/backup/server1.mksysb -r ./etc/resolv.confD.restorevgfiles -xrm /mnt/backup/server1.mksysb ./etc/resolv.conf
考题
Howcanadirectorybeexcludedfromamksysbbackupofthefollowing?()
A.Putanentryinthe/etc/exclude.rootvgfileB.Putanentryinthe/etc/mksysb.excludefileC.Removethedirectory’sentryfromthemksysb/image.datafileD.Removethedirectory’sentryfromthe/var/adm/ras/bosinst.datafile
考题
Acompanyusesrawlogicalvolumes.Whichcommandcanbeusedtobackupthedataintherawlogicalvolumestoatape?()
A.ddB.tarC.cpioD.mksysb
考题
Which command can be used to show volume group information about filesystems and OS levels for a specified mksysb called server1.mksysb?()
A.lsmksysb -lf server1.mksysbB.restore -mrT server1.mksysbC.listbackup -fT server1.mksysbD.listvgbackup -l server1.mksysb
考题
使用snmptuil.exe 可以查看代理的 MiB对象,下列文本框内oid部分是( ).C:\ Users\Administrator> snmptuil get 192.168.1.31 public.1.3.6.1.2.1.1.3.0Variable=system.sysUpTime.0Value=TimeTicks 1268830A.192.168.1.31
B.1.3.6.1.2.1.1.3.0
C.system.sysUpTime.0
D.TimeTicks 1268803
考题
14、下面程序段执行后的输出是 。 public class Array____Ex { public static void main(String[] args) { int[] a=new int[1]; modify(a); System.out.println("a[0]="+a[0]); } public static void modify(int[] a) { a[0]++; } }