java - 如何将一个私有变量在另一个类中进行接收??
天蓬老师
天蓬老师 2017-04-18 10:50:49
0
2
447

天蓬老师
天蓬老师

欢迎选择我的课程,让我们一起见证您的进步~~

reply all(2)
巴扎黑

penguin.setHealth(input.nextInt())

Ty80

The set method is a return value of void type. The penguin.setHealth() method will not return a field. How can it perform an assignment operation?

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!