Answers for "where we use interface in java"

0

syntax for java interfaces

  class  ClassName [ extends SuperClassName ]
		[ implements InterfaceName1 [, Interface Name2 �] )  {
			class body 
	}
Posted by: Guest on June-28-2021
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 "where we use interface in java"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language