Q.

Interface methods can be declared with which the following modifiers?

A. public.
B. private.
C. synchronized.
D. native.
Answer» A. public.
4.4k
0
Do you find this helpful?
29

View all MCQs in

Java Programming

Discussion

ACM

Atul Chandra Maraj
2 months ago

What is the purpose of declaring a method as private in an interface?
1