A predefined function is a set of routines that the computer carries out to perform functions in a programming language.
An example of a predefined function would be: System.out.println("This is my work");
System.out.println allows to the computer to print what ever words you put in the speech marks on to the screen. However, you must remember to put a semi colon at the end or it will show as an error.
Another example of a predefined function would be concat() this lets you combine the text of two strings and returns to a new string.
public String concat(String str) would be an example of two strings.
An example of a predefined function would be: System.out.println("This is my work");
System.out.println allows to the computer to print what ever words you put in the speech marks on to the screen. However, you must remember to put a semi colon at the end or it will show as an error.
Another example of a predefined function would be concat() this lets you combine the text of two strings and returns to a new string.
public String concat(String str) would be an example of two strings.