热门

最新

红包

立Flag

投票

同城

我的

发布
Justachae
常力力
4 年前
trueJustachae

《overloading 重载 & String concatenation & BlueJ 的 Code Pad》
Overloading 重载
这是一个打票机
import lang.stride.*;

public class TicketMachine
{
/* The price of a ticket from this machine.*/
private int price;
/* The amount of money entered by a customer so far.*/
private int balance;
/* The total amount
——来自博客
https://blog.csdn.net/Justachae/article/details/120931981

你真的了解重载的定义吗?(单选)
0 人已经参与 已结束
是的
0人
并不了解
0人
CSDN App 扫码分享
分享
评论
点赞
  • 复制链接
  • 举报
下一条:
1024程序员节,打个卡
立即登录