Which is the valid declaration of method in an interface?
a.Static int method()
b.Final int method()
c.Public int method()
d.Protected int method()?
Answers
Answered by
5
ince the interface specifies a set of exposed behaviors, all methods are implicitly public . The member type declarations in an interface are implicitly static, final and public, but otherwise they can be any type of class or interface.
I hope it will help you.
Please mark me as BRAINLIEST
himanshu1224:
please mark me as BRAINLIEST ❤❤...
Similar questions
Math,
7 months ago
Science,
7 months ago
Political Science,
7 months ago
English,
1 year ago
Math,
1 year ago