The do all inherit form java.lang.Object because every class in Java does.
A Window is an abstract class that defines a standard set of behaviors that its descendants will have. The View class inherits from Window and provides a basic implementation of how to create a rectangular region of the screen that can draw itself and be interacted with by the user. The Dialog class does *not* inherit from View or Window. It provides a basic implementation for presenting a control the user will interact with. It is a bit surprising to me that Dialog does not inherit from View, but I can see how Dialogs have enough specific features where it would have its own base class. Cheers, Justin Android Team @ Google On May 5, 6:03 pm, tagore <[EMAIL PROTECTED]> wrote: > What is the difference among window, view and dialog. > Why are them inherited from a common base class? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~----------~----~----~----~------~----~------~--~---