Day – 4 Task-1

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
喜欢就支持一下吧
点赞12 分享
评论 抢沙发

请登录后发表评论

    暂无评论内容