I have tested this code in Eclipse and it runs without error
The result is:
10
7
Here is my code:
Code: Select all
public class Basics1 {
public static long main(String[] args)
{
System.out.println("Hello");
return 10L;
}
}
Moderator: admin
Code: Select all
public class Basics1 {
public static long main(String[] args)
{
System.out.println("Hello");
return 10L;
}
}
Users browsing this forum: No registered users and 20 guests