title: Object Oriented Programming vs. Procedural Programming
body: <p>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? </p>
  
  <p>OOP example below:</p>
  
  <pre><code>Class test {
   public static void main (String args []){ 
         int test = 6;
         if (test == 9){
              System.out.println(“True”);     
     } else {
             System.out.println(“False”);
        }
  } 
  </code></pre>