Answers for "purpose of interfaces in java"

2

Interface in java

// interface syntax
interface InterfaceName
{
   fields // by default interface fields are public, static final
   methods // by default interface methods are abstract, public
}
Posted by: Guest on November-30-2020

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language