Advertisement
semsem_elazazy

Untitled

May 24th, 2022
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.53 KB | None | 0 0
  1. package package1;
  2.  
  3. import java.util.*;
  4. import java.io.*;
  5.  
  6. public class Transactions extends Account {
  7.    
  8.    
  9.     Date date = new Date();
  10.     double amount;
  11.     char transaction;
  12.    
  13.     public Transactions () {}
  14.     public Transactions(Date date , char transaction ) {
  15.         super();
  16.         this.date = date;
  17.         this.transaction = transaction;
  18.     }
  19.     public Transactions(Date date, double amount, char transaction ) {
  20.         super();
  21.         this.date = date;
  22.         this.amount = amount;
  23.         this.transaction = transaction;
  24.     }
  25.    
  26.    
  27.    
  28.  
  29.    
  30. }
  31.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement