0 votes
in JAVA by

Which of the following interfaces is a functional interface?

i)public interface NewCards extends Cards{ int totalCount(double a, double b); }

ii)public interface InvalidCard{ }

iii)public interface Cards{ int totalCount(int a, int b); }

1 Answer

0 votes
by

iii)public interface Cards{ int totalCount(int a, int b); } interfaces is a functional interface

Related questions

0 votes
asked May 31, 2022 in JAVA by Robin
0 votes
asked Feb 28, 2023 in JAVA by rajeshsharma
...