class Employee
{
public static void main(String[] args)
{
Employee emp=new Employee();
emp.develop();
int output = emp.work(10);
System.out.println("work" + " " + output );
}
public void develop()
{
}
public int work(int e)
{
return e * 10;
}
Enter fullscreen mode Exit fullscreen mode
output:
原文链接:Day – 4 Task-1
© 版权声明
THE END
暂无评论内容