Interfaces in java | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Interfaces in java

please explaine interfaces in java

12th Aug 2017, 9:49 AM
YAHIAOUI Oualid - avatar
1 Answer
+ 1
theres abstract and theres interface class "Abstract" contains abstract and nonabstract methods(). "Interface" only contains abstract methods() and constants. by the way java is oop so an interface in real life would be the likes of the touch screen on a mobile phone somthing that interacts with the program i guess.
12th Aug 2017, 10:38 AM
D_Stark - avatar