This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
1) which variables should you use to declare the class Employee. Employee is a Person, has a Date of employement, Vector with appointment Dates, and ID integer number. What can you use to declare the member variables of this class ? A.Person B.int C.Date D.Object E.Employee F.Vector I choosed B,C,F 2) which is true about Threads: A.if suspended cannot be restarted B.stop running, if another Thread with heigher Porperties is getting runnable. C.stop running, if the Thread starts another Thread D.if dead cannot be restarted E.if interreppted stop running F.I cannot remember I choosed B,D,E (a classic question, but I had 2-3 question about threads in this style) 3) 2 Questions in this style: You have the class A, that is used from many developement teams (or something like that), and is a subclass of another class B and implements I ... and you have many words: - public - protected - private - extends - implements - A - class - B - I - other words... write the declaration of the class fill in the blanks
>2) "suspended" is a 1.1 thing and not a 1.2 thing. Therefore, this question is outdated. Well, Thread.suspend() IS supported in Java 2. It is also deprecated, but that means something else, right? SO as long as a method compiles and executes in Java 2, I consider it "fair game" for questions...
Tony Alicea Senior Java Web Application Developer, SCPJ2, SCWCD