Because, when you define an inner class you are associating an object with an inner class which inturn is attached to some other object of the enclosing class. No object is associated with Interface and all members of interface are implicitly static.
posted 11 years ago
how the float variable is assigned a long variable..? ex: long l=1213; //even maximum long value... float f=l;
float has 4 bytes and long bytes.. how 8 bytes value is assigned to 4 bytes value..?