不会进行静态void main()方法 [英] doesn't proceed for the static void main() method

查看:68
本文介绍了不会进行静态void main()方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

美好的一天!

我有一个问题,希望咨询......


我正在使用一个程序-mujava来创建变种。

我运行程序并出来:
MyProgram.java类包含''static void main()方法。

请注意,'static static main()''方法不会生成突变体。



如何解决这个问题或者我是怎么做的应该传递arg(图像文件名)作为MyProgram的输入?

也许你在这里遇到过同样的事情,请指教......谢谢你们

Good Day All!
I have one problem and wish to consult......

I am using one program -mujava to create mutants.
I run the program and comes out this:
MyProgram.java class containts ''static void main() method.
Please note that mutants are not generated for the ''static void main()'' method.


How to solve this problem or how am I supposed to pass arg (Image file name) as an input to MyProgram?
Maybe one you here have experienced the same, please advise...Thanks guys

推荐答案


美好的一天!

我有一个问题,希望咨询......


我正在使用一个程序-mujava来创建突变体。

我运行程序并出现这个:
MyProgram.java类包含' 'static void main()方法。
请注意,不生成突变体对于''static void main()''方法。


如何解决这个问题或者我应该如何传递arg(图像文件名) )作为MyProgram的输入?

也许你在这里遇到过同样的人,请指教...谢谢你们
Good Day All!
I have one problem and wish to consult......

I am using one program -mujava to create mutants.
I run the program and comes out this:
MyProgram.java class containts ''static void main() method.
Please note that mutants are not generated for the ''static void main()'' method.

How to solve this problem or how am I supposed to pass arg (Image file name) as an input to MyProgram?
Maybe one you here have experienced the same, please advise...Thanks guys



也许你们发布你的代码......

Maybe if you post your code ...



也许你发布你的代码...
Maybe if you post your code ...



请查看使用ImageInfo程序的说明,如下所示,我是从开发者网站上复制的。

------------------ -------------------------------------------------- --------------

在Java应用程序或applet中使用ImageInfo:

图像文件可以是任何InputStream对象或实现DataInput的类的实例(如RandomAccessFile)。下面是一些关于如何使用该类的示例代码:

Please check instructions on using ImageInfo program as below which I copied from the developer''s website.
----------------------------------------------------------------------------------
Using ImageInfo from within a Java application or applet:
The image file can be any InputStream object or an instance of a class implementing DataInput (like RandomAccessFile). Here is some sample code on how to use the class:

展开 | 选择 | Wrap | 行号


只是我不知道是什么这两个选项之间的区别。

我曾经从命令行运行程序。
just that I do not know what is the difference between those 2 options.
I used to run a program from command line.


这篇关于不会进行静态void main()方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆