First , thanx for Mr.Marcus Green's mock.
I took exam 2 today, socore 57/60 .
but, some doubts:
1> there are so many questions about AWT and IO,it is for 1.2 exam?
2>
Question 42)
Which of the following statements about threading are true
1) You can only obtain a mutually exclusive lock on methods in a class that extends Thread or implements runnable
2) You can obtain a mutually exclusive lock on any object
3) A thread can obtain a mutually exclusive lock on an object by calling a synchronized method of that object.
4) Thread scheduling algorithms are platform dependent
Answer 42)
Objective 7.3)
2) You can obtain a mutually exclusive lock on any object
3) A thread can obtain a mutually exclusive lock on an object by calling a synchronized method of that object.
4) Thread scheduling algorithms are platform dependent
Yes that says dependent and not independent.
BUT, about answer 2), i believe , should be "You can obtain a mutually exclusive lock on any object which have some synchronied block or method". right?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~