Hi ,
i have gone through the tutorial you have publiched ,
I do have a doubt in the interface seperation tutorial, you have
given an example
in the customer class some clients need to know the id only and the
others need to only convert the customer class into XML, so you have
created two interface for IBusiness interface for ID and IXML for
getting the XML
So we have implemented the two in the customer class..
Ok,
I need to get the XML for the customer class
i did this
Customer objCustomer=new Customer();
((IXML)objCustomer.getXML());
what difference it make when i have a method like getXML() in
Customer Class
and Call directly objCustomer.getXML();
Do let me know iam using the correct call, or what advantage do we
have in interface seperation
Regards
Thomson