-
Which two methods, inserted independently at line 17, correctly complete the Sales class?()https://assets.asklib.com/images/image2/2018080113342240957.jpg
A . double getSalesAmount() { return 1230.45; }
B . public double getSalesAmount() { return 1230.45; }
C . private double getSalesAmount() { return 1230.45; }
D . protected double getSalesAmount() { return 1230.45; }
-
Given: 10. class One { 11. void foo() { } 12. } 13. class Two extends One { 14. //insert method here 15. } Which three methods, inserted individually at line 14, will correctly complete class Two?()
A . public void foo() { /* more code here */ }
B . private void foo() { /* more code here */ }
C . protected void foo() { /* more code here */ }
D . int foo() { /* more code here */ }
E . void foo() { /* more code here */ }
-
Given:
https://assets.asklib.com/images/image2/201808020927168159.jpg
Which method will complete this class?()
A . public int compareTo(Object o){/*more code here*/}
B . public int compareTo(Score other){/*more code here*/}
C . public int compare(Score s1,Score s2){/*more code here*/}
D . public int compare(Object o1,Object o2){/*more code here*/}
-
An administrator must verify all filesets are completely installed before an upgrade. Which of the following commands will perform this task()
A . Islpp -v
B . Ippchk -v
C . installp -v
D . instfix -v
-
Which two code fragments will execute the method doStuff() in a separate thread?()
A . new Thread() {public void run() { doStuff(); }};
B . new Thread() {public void start() { doStuff(); }};
C . new Thread() {public void start() { doStuff(); }}.run();
D . new Thread() {public void run() { doStuff(); }}.start();
E . new Thread(new Runnable() {public void run() { doStuff(); }}).start();
-
Which will declare a method that forces a subclass to implement it?()
A . Public double methoda();
B . Static void methoda (double d1) {}
C . Public native double methoda();
D . Abstract public void methoda();
E . Protected void methoda (double d1){}
-
Given:
https://assets.asklib.com/images/image2/2018080110581631974.png
Which method will complete this class?()
A . public int compareTo(Object o){/*more code here*/}
B . public int compareTo(Score other){/*more code here*/}
C . public int compare(Score s1,Score s2){/*more code here*/}
D . public int compare(Object o1,Object o2){/*more code here*/}
-
Which five methods,inserted independently at line 5,will compile?()https://assets.asklib.com/images/image2/2018080110531783575.jpg
A . public int blipvert(int x){return 0;}
B . private int blipvert(int x){return 0;}
C . private int blipvert(long x){return 0;}
D . protected int blipvert(long x){return 0;}
E . protected long blipvert(long x){return 0;}
F . protected long blipvert(int x, int y){return 0;}
-
Given:
https://assets.asklib.com/images/image2/2018080111582742271.png
Which three methods, inserted individually at line 14, will correctly complete class Two?()
A . int foo() { /* more code here */ }
B . void foo() { /* more code here */ }
C . public void foo() { /* more code here */ }
D . private void foo() { /* more code here */ }
E . protected void foo() { /* more code here */ }
-
Which method will configure an e-mail notification when permanent hardware errors are logged in the errorlog?()
A . Create or update the errnotify stanza in the ODm
B . Update errpt daemon configuration file /etc/errpt.conf.
C . Update errpt daemon configuration file /var/adm/errpt.conf.
D . Define a notification alias in the /etc/syslog.conf file with the *.error stanza
-
Given:
https://assets.asklib.com/images/image2/201808011014025998.png
Which five methods, inserted independently at line 5, will compile?()
A . public int blipvert(int x) { return 0; }
B . private int blipvert(int x) { return 0; }
C . private int blipvert(long x) { return 0; }
D . protected long blipvert(int x) { return 0; }
E . protected int blipvert(long x) { return 0; }
F . protected long blipvert(long x) { return 0; }
-
Given:
https://assets.asklib.com/images/image2/2018080210520884521.jpg
Which three methods, inserted individually at line 14, will correctly complete class Two?()
A . int foo() { /* more code here */ }
B . void foo() { /* more code here */ }
C . public void foo() { /* more code here */ }
D . private void foo() { /* more code here */ }
E . protected void foo() { /* more code here */ }
-
class One { void foo() {} } class Two extends One { //insert method here } Which three methods, inserted individually at line 14, will correctly complete class Two?()
A . int foo() { /* more code here */ }
B . void foo() { /* more code here */ }
C . public void foo() { /* more code here */ }
D . private void foo() { /* more code here */ }
E . protected void foo() { /* more code here */ }
-
Which will declare a method that forces a subclass to implement it? ()
A . Public double methoda();
B . Static void methoda (double d1) {}
C . Public native double methoda();
D . Abstract public void methoda();
E . Protected void methoda (double d1){}
-
During an AIX installation, which of the following actions will occur once the Complete Overwrite option is selected?()
A . All new disks in the system will be formatted
B . Only the contents of the root volume group destination disks will be destroyed
C . All file systems, including /(root), /tmp, /usr, and /var, but no usr data in the root volume group, will be destroyed
D . The contents of all disks on the system, even if they are not shown as the destination root volume group disks, will be destroyed
-
class One { public One foo() { return this; } } class Two extends One { public One foo() { return this; } } class Three extends Two { // insert method here } Which two methods, inserted individually, correctly complete the Three class?()
A . public void foo() { }
B . public int foo() { return 3; }
C . public Two foo() { return this; }
D . public One foo() { return this; }
E . public Object foo() { return this; }
-
Which two queuing methods will allow a percentage of the available bandwidth to be allocated to each queue?()
A . first-in, first-out queuing (FIFO)
B . priority queuing (PQ)
C . custom queuing (CQ)
D . weighted fair queuing (WFQ)
E . class-based WFQ (CBWFQ)
F . low latency queuing (LLQ)
-
Given:
https://assets.asklib.com/images/image2/2018080114331739825.png
Which two methods, inserted individually, correctly complete the Three class?()
A . public void foo() {}
B . public int foo() { return 3; }
C . public Two foo() { return this; }
D . public One foo() { return this; }
E . public Object foo() { return this; }
-
Which two methods, inserted individually, correctly complete the Three class?()https://assets.asklib.com/images/image2/2018080111174990866.jpg
A . public void foo(){ }
B . public int foo(){return 3;}
C . public Two foo(){return this;}
D . public One foo(){return this;}
E . public Object foo(){return this;}
-
Given:
https://assets.asklib.com/images/image2/201808020923131133.jpg
Which two methods, inserted independently at line 17, correctly complete the Sales class?()
A . double getSalesAmount() { return 1230.45; }
B . public double getSalesAmount() { return 1230.45; }
C . private double getSalesAmount() { return 1230.45; }
D . protected double getSalesAmount() { return 1230.45; }
-
Given:
https://assets.asklib.com/images/image2/201808011555195306.jpg
Which five methods, inserted independently at line 5, will compile?()
A . protected int blipvert(long x) { return 0; }
B . protected long blipvert(int x) { return 0; }
C . private int blipvert(long x) { return 0; }
D . private int blipvert(int x) { return 0; }
E . public int blipvert(int x) { return 0; }
F . protected long blipvert(long x) { return 0; }
G . protected long blipvert(int x, int y) { return 0; }
-
You need to identify the features that will be available immediately after the domain migration to the new environment is complete. Which feature or features will be available?()
A . Global group nesting.
B . Universal group nesting.
C . Domain local group nesting.
D . Universal security groups.
E . Sid history attributes.&e
-
A System p adminstrator must recover user information from a system that will not successfully boot. Which of the following install methods will accomplish this ()
A . Preservation
B . Migration
C . New and complete overwrite
D . Repair
-
Given:
https://assets.asklib.com/images/image2/2018080111591755560.png
Which two methods, inserted independently at line 17, correctly complete the Sales class?()
A . double getSalesAmount() { return 1230.45; }
B . public double getSalesAmount() { return 1230.45; }
C . private double getSalesAmount() { return 1230.45; }
D . protected double getSalesAmount() { return 1230.45; }