Math, asked by maihuterimaa, 11 months ago

hi anyone online
what is interface in jaVa?​

Answers

Answered by blackpinf4ever
1

An interface in java is a blueprint of a class. It has static constants and abstract methods. The interface in Java is a mechanism to achieve abstraction. There can be only abstract methods in the Java interface, not method body. It is used to achieve abstraction and multiple inheritance in Java.


blackpinf4ever: A method without body (no implementation) is known as abstract method.
maihuterimaa: thanks
maihuterimaa: please answer my questions if possible
blackpinf4ever: Ahhhh dude I gotta go
maihuterimaa: (^^)(^^)
maihuterimaa: heya
maihuterimaa: u r still here...xD
blackpinf4ever: I came now ...
blackpinf4ever: I had lunch
maihuterimaa: ok
Similar questions