Which of these is a legal declaration of a synchronized static factory?
Answer: A
Modifiers may appear in any order before the return type, so static synchronized and synchronized static are equally valid, but the keyword cannot follow the return type and a method with a body needs braces. abstract and synchronized cannot be combined.
Please log in or register to report this question.