برنامه نویسی
روز – 1 کار 1

Summarize this content to 400 words in Persian Lang
class Employee
{
public static void main(String[] args)
{
Employee hari=new Employee();
int output=hari.work(10);
hari.develop();
System.out.println(“output=”+output);
}
public int work(int no)
{
return no * 10;
}
public void develop()
{
//system.out.println(“output”);
}
}
خروجی:
class Employee
{
public static void main(String[] args)
{
Employee hari=new Employee();
int output=hari.work(10);
hari.develop();
System.out.println("output="+output);
}
public int work(int no)
{
return no * 10;
}
public void develop()
{
//system.out.println("output");
}
}
خروجی: