Java
•
ARVIND Verma
1 month ago
python Game Development
public class Mail{
public Mai(){
System.out.println("hello world");
}
}
0 Likes
Snippet
Java
•
ARVIND Verma
1 month ago
In the previous chapter, we created a Java file called Main.java, and we used the following code to print "Hello World" to the screen
int x = 20;
int y = 18;
if (x > y)
System.out.println("x is greater than y"); // Belongs to if
System.out.println("This line runs no matter what (not part of the if statement)");
// Output:
// x is greater than y
// This line runs no matter what (not part of the if statement)
0 Likes
Snippet
Java
•
ARVIND Verma
1 month ago
Java First code for this application for string print
public class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello, World!");
}
}
0 Likes
Snippet