Sun Certified Java Developer Question:
Download Questions PDF

Explain What is the result of mounting a file system with thenoatimeoption enabled?
A.It enables the UFS logging
B.It disables the update of file access times
C.It prevents the creation of files larger than 2Gbytes
D.It prevents the user from updating the file modification times

Answer:

B.It disables the update of file access times

Download Sun Certification Interview Questions And Answers PDF

Previous QuestionNext Question
Can you explain Given: 5. class Building { } 6. public class Barn extends Building { 7. public static void main(String[] args) { 8. Building build1 = new Building(); 9. Barn barn1 = new Barn(); 10. Barn barn2 = (Barn) build1; 11. Object obj1 = (Object) build1; 12. String str1 = (String) build1; 13. Building build2 = (Building) barn1; 14. } 15. } Which is true? A. If line 10 is removed, the compilation succeeds. B. If line 11 is removed, the compilation succeeds. C. If line 12 is removed, the compilation succeeds. D. If line 13 is removed, the compilation succeeds. E. More than one line must be removed for compilation to succeed.Explain Given:
11. class PingPong2 {
12. synchronized void hit(long n) {
13. for(int i = 1; i < 3; i++)
14. System.out.print(n + "-" + i + " ");
15. }
16. }
17. public class Tester implements Runnable {
18. static PingPong2 pp2 = new PingPong2();
19. public static void main(String[] args) {
20. new Thread(new Tester()).start();
21. new Thread(new Tester()).start();
22. }
23. public void run() { pp2.hit(Thread.currentThread().getId()); }
24. }
Which statement is true?
A. The output could be 5-1 6-1 6-2 5-2
B. The output could be 6-1 6-2 5-1 5-2
C. The output could be 6-1 5-2 6-2 5-1
D. The output could be 6-1 6-2 5-1 7-1