In practice, I found the bcel version of this class writing program (org.apache.bcel.util.BCELifier) to be of limited use.
而在实践中,我发现这种类编写程序的bcel版本(or g . apache . bcel . ut il . BCELifier)使用起来有一些限制。
It would be better if you could give this constant a name and then use it everywhere in the program. You could, of course, simply declare it as a local variable by writing.
这样的话,如果可以给这个常量一个名字,然后在程序所有需要的地方通过名字来使用这个常量,将会非常方便。
Try writing a program to generate for simple cases and check that your output agrees with the example cases; this will confirm you've understood the problem and are heading in the right direction.
可以编写一些简陋的程序来满足那些简单的示例,对比程序的输出和示例的答案,这样你就可以确认自己理解了题目的要求,并且找到正确的方向。
So when you're writing a program in this language and many others, if you wanna make a comment to yourself or for other people who are reading this with their TF or fellow colleagues, you use what are called comments.
当你用这样那样的语言写程序时,为了便于自己或他人,阅读我们写的代码,我们必须得做一些注解,这就是所谓的注释。
So writing a program at least in this language is a two-step process.
用这种语言写一个至少需要,两步完成的小程序。
应用推荐