أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.
an interface is a group of related methods with empty bodies
Interface is similar to class.but they lack instance variable ,and the methods are declared without body inside interface.
interface is collection of abstactmethods and final variables,
it is used insted of multiple inheritance
we cant create object for interface