+1 vote
in JAVA by
Can a class have an interface?

1 Answer

0 votes
by
Yes, an interface can be defined within the class. It is called a nested interface.

Related questions

0 votes
asked May 2, 2021 in JAVA by sharadyadav1986
0 votes
asked May 2, 2021 in JAVA by sharadyadav1986
...