Class and Interface:
(A) What are the differences between a Class and an Interface in Objective-C.
(B) (i)Create a project AnimalTest under myobjc folder. Create an interface Animalize, and declare a method myLanguage() that takes no argument but returns a NSString type. Declare one more method of your choice. (ii) Create three different classes Dog, Cat and Lion and let those implement the Animailize interface. This means each of these classes need to have the methods declared in the Animalize interface. (iii) Create a main method instantiate the three other classes created and call the methods for each.
Hint: The Animalize interface would have method declaration like,
A Cat class would implement Animalize by first having a line in class definition
@interface Cat : Animalize
and then having a method
(C) Add additional method corresponding to your other method in Animalize interface
(D) Ensure that the program compiles and executes without any errors.
(E) Zip and upload all AnimalTest files in the AnimalTest project as an attachment for grade.
Your program must compile and run on the Mac 64 bit simulatorAttachments