Showing posts with label diff between interface and class in android. Show all posts
Showing posts with label diff between interface and class in android. Show all posts

Monday, April 6, 2015

Difference b/w interface and a class

The key technical differences between an abstract class and an interface are:

  • Abstract classes can have constants, members, method stubs and defined methods, whereas interfaces can only have consts and methods stubs.
  • Methods and members of an abstract class can be defined with any visibility, whereas all methods of an interface must be defined as public.

Don't lose faith when you see others receive answers to their prayers

An elephant and a dog became pregnant at same time. Three months down the line the dog gave birth to six puppies . Six months later the ...

 

G-Expo Template by Ipietoon Cute Blog Design