Paste Search Dynamic
Recent pastes
MC.area
  1. /* package whatever; // don't place package name! */
  2.  
  3. import java.util.*;
  4. import java.lang.*;
  5. import java.io.*;
  6.  
  7. class MyClass1
  8.  {
  9.   private int area(int side)
  10.   {
  11.    return(side * side);
  12.   }
  13.   public static void main(string args[ ])
  14.   {
  15.    MyClass1 MC = new MyClass1( );
  16.    int area = MC.area(50);
  17.    system.out.println(area);
  18.   }
  19.  }
  20.  
Parsed in 0.006 seconds