关于按钮 [英] regarding button
本文介绍了关于按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
请解释一下
按钮b =(按钮)
hi please explain this
Button b=(Button)
推荐答案
maheswarareddy写道:
maheswarareddy wrote:
按钮b =(按钮)
该行没有意义,并且会给出编译时错误.
您不能将类型分配给变量
This line has no sense and will give compile time error.
you can not assign a Type to a variable
它应该是:
Button b =(Button)对象;
Rather it should be:
Button b = (Button)object;
这篇关于关于按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文