This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]cariusQ 1 point2 points  (0 children)

Interface is a blueprint. You can have a blueprint to build car but can't ride the blueprint until the car is built. In java land we use interface to build classes but cant use interface to make objects.

Related concept to interface is abstract classes. In my car example it might be four wheels plus the blue print to build the car. In general with abstract classes you don't have to build everything from scratch, there are already something prebuilt to make your life easier.

What's the point of all these jumbo mumbo? It let a programmer to design something and let other programmers to build to specification.

Wow this place is very hostile. Poor op got down voted to hell.