Guest User

Untitled

a guest
Jun 25th, 2018
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.93 KB | None | 0 0
  1. /**
  2.  * File:          Lab3
  3.  * Project:       Lab 3 - "Two Numbers"
  4.  * Author:        Dylan Rindo
  5.  * Description:   Similar to the "Rectangle" project in class, display 2 numbers
  6.  *                and then display the output of several operations with the 2
  7.  *                numbers as the inputs.
  8.  * Comments:      This Particular code allows the TwoNumbers class to be
  9.  *                run without opening the "TwoNumbers" file.
  10.  */
  11.  
  12. public class Test
  13. {
  14.  
  15.     public Test()
  16.     {
  17.     }
  18.          
  19.    /* Main Method, runs object as application to test */
  20.    
  21.        
  22.       public static void main( String[] args)
  23.       {
  24.      
  25.        
  26.        
  27.    /* List of processes that will be done during the test */
  28.          
  29.          
  30.      TwoNumbers twoNumbersOriginal;
  31.      TwoNumbers twoNumbersSecond;
  32.          
  33.      twoNumbersOriginal = new TwoNumbers();
  34.      twoNumbersSecond   = new TwoNumbers( 100.0, 200.0 );
  35.      }
  36. }
Add Comment
Please, Sign In to add comment