I'm trying to write two examples of code in java: OOP and procedural, but I can't think of procedural code example. I have one example of an OOP code below. Can someone give me an example of a procedural code and explain a little as to what it does?
OOP example below:
Class test {
public static void main (String args []){
int test = 6;
if (test == 9){
System.out.println(“True”);
} else {
System.out.println(“False”);
}
}