On this blog you can get all latest answers of core java these test answers taken form upwork and freelancer jobs plate form . here have all correct answers of java upwork. upwork latest elance test answers available. For more java test answers click on java ans in top menu.
Which design pattern reduces network traffic by acting as a caching proxy of a remote object?
Answers:
• DataAccess Object
• Model-View-Controller
• Value Object
• Business Delegate
• DataAccess Object
• Model-View-Controller
• Value Object
• Business Delegate
Which option lists Java access modifiers in the right order from the most permissive to the most restrictive?
Answers:
• public, protected, <i>no modifier/default/package</i>, private
• public, <i>no modifier/default/package</i>, protected, private
• <i>no modifier/default/package</i>, public, protected, private
• public, protected, private, <i>no modifier/default/package</i>
• public, protected, <i>no modifier/default/package</i>, private
• public, <i>no modifier/default/package</i>, protected, private
• <i>no modifier/default/package</i>, public, protected, private
• public, protected, private, <i>no modifier/default/package</i>
Which of the following cannot apply to constructors?
Answers:
• Name same as class name
• Void return type
• Can have parameters
• Overloading
• Name same as class name
• Void return type
• Can have parameters
• Overloading
What is the term to describe a situation where two or more threads are blocked forever, waiting for each other?
Answers:
• deadlock
• starvation
• livelock
• liveness
• deadlock
• starvation
• livelock
• liveness
RMI allows remote communication between:
Answers:
• C++ and Java
• C and Java
• Pascal and Java
• Java and Java
• Java and TCP/IP
• C++ and Java
• C and Java
• Pascal and Java
• Java and Java
• Java and TCP/IP
No comments:
Post a Comment