I’m looking for a simple sample code for Java using print method.
public static void Println(){
System.out.println("Hello World");
}
public static void main (String[] args){
System.out.println("Sample Print Method:");
Printline();
System.out.println("End");
}
This is a basic hello world code, Hope this helps you!