package terminaltask;
public class Player {
public static void main(String[] args) {
Player dhoni = new Player();
int score = dhoni.batting(30);
System.out.println(score);
}
public int batting(int run)
{
return 100;
}
}
out put 100
The above is the detailed content of Player dhoni task. For more information, please follow other related articles on the PHP Chinese website!