system.out.print is function or object code example
Example: system.out.println
public static void main(String[] args){
System.out.println("Hello World");
}
public static void main(String[] args){
System.out.println("Hello World");
}