Hello Friends,

My Question is, why do we create inner classes or subclasses in
android. Like the following example

public class mainClass extends SomeClass implements SomeInterfaces{
Some variables declaration ...
public class subClass extends SomeOtherClass {
                public SomeInterface someMethod() {
                        return mainClass.this;
                }       
        }
}

Can we create this subClass as an individual class and later on use
its methods in mainClass? if not Why?

//Zeeshan

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
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/android-developers?hl=en

Reply via email to