question 55) which of the following are methods of the thread class? 1) yield() 2) sleep(long msec) 3) go() 4) stop()
question 56) which of the following methods are members of the vector class and allow you to input a new element 1) addelement 2) insert 3) append 4) additem
question 57) which of the following statements are true? 1) adding more classes via import statements will cause a performance overhead, only import classes you actually use. 2) under no circumstances can a class be defined with the private modifier 3) a inner class may under some circumstances be defined with the protected modifier 4) an interface cannot be instantiated
question 58) which of the following are correct event handling methods 1) mousepressed(mouseevent e){} 2) mousepressed(mouseclick e){} 3) functionkey(keypress k){} 4) componentadded(containerevent e){}
question 59) which of the following are methods of the collection interface? 1) iterator 2) isempty 3) toarray 4) settext
question 60) which of the following best describes the use of the synchronized keyword? 1) allows two process to run in paralell but to communicate with each other 2) ensures only one thread at a time may access a method or object 3) ensures that two or more processes will start and end at the same time 4) ensures that two or more threads will start and end at the same time