62,620
社区成员
发帖
与我相关
我的任务
分享
public class Test1
{
public static void main(String[] args)
{
int x = Integer.parseInt(args[0]);
x == 5 ? "yes" : "no";
}
}
public class Test1
{
public static void main(String[] args)
{
int x = Integer.parseInt(args[0]);
String s = x == 5 ? "yes" : "no";
}
}
public class Test2
{
public static double method()
{
return 10;
}
public static void main(String[] args)
{
method();
}
}
public class Test1
{
public static void main(String[] args)
{
int x = Integer.parseInt(args[0]);
x == 5 ? System.out.println("true") : System.out.println("true");
}
}