开发者

Android, How to define multiple variables at once

I have two variables and was 开发者_运维百科wondering how I would define both at once.

    Button answer1;
Button answer2;


If I understand your question correctly, you need to do this:

Button answer1, answer2;


This seems like it should be correct.

Button answer1, answer2; 
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜