Home > DeveloperSection > Interviews > Abstract class Vs Concrete class in Objective-C.

Posted on    February-07-2016 11:26 PM

 iPhone iPhone  Ios  Objective C 
 1 Answer(s)
  434  View(s)
Rate this:

Mary Johnson
Mary Johnson

Total Post:1

Posted on    February-08-2016 12:26 AM

An abstract class is a class for which one or more methods are declared but not defined, meaning that the compiler knows these methods are part of the class, but not what code to execute for that method. These are called abstract methods.
A concrete class is a class that can be used to create an object. An abstract class cannot be used to create an object (we must extend an abstract class and make a concrete class to be able to then create an object).

Don't want to miss updates? Please click the below button!

Follow MindStick