This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
A is base class and b and c are subclasses of the A
In a webmethod named action() return response type as A
if true then
in case of True while returning the xml structure must include A as root element and B as it attribute
In case of False while returning the xml structure must include A as root element and c as it attribute