Professional Documents
Culture Documents
IT - 04 - MRUNALI - JAVA Exp3
IT - 04 - MRUNALI - JAVA Exp3
Syntax:
interface <interface_name>{
Program:
class Employee
{
String empName; int empNumber; double salary;
public Employee(String empName,int empNumber,double salary)
{
this.empName = empName; this.empNumber = empNumber;
this.salary = salary;
}