0 votes
in JAVA by

The following code includes a valid Functional Interface.

package functionalInterfaceExample;@FunctionalInterface

public interface MyFirstFunctionalInterface {

public void firstWork();

@Override

public String toString();

@Override

public boolean equals(Object obj);

}

i)True

ii)False

1 Answer

0 votes
by
i)True

above code includes a valid Functional Interface.

Related questions

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