1. Interfaces have methods with no bodies.So,what is the use of implementing
built-in interfaces in our programs. 2. abstract void drawString(string text, int x, int y) ; Since drawString is abstract so it has no body, but we directly use this method in our program to draw string.Where does compiler get the definition of this method, since we dont provide the definition? --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/javaprogrammingwithpassion?hl=en -~----------~----~----~----~------~----~------~--~---
