Advertisement
AlfonsoPEREZ

email.java

Jan 27th, 2023
790
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.42 KB | None | 0 0
  1. public class Email extends Document{
  2.     private String subject = "inquiry";
  3.     private String to = "uwu";
  4.    
  5.     public Email(){
  6.     }
  7.    
  8.     public String getSubject(){
  9.         return subject;
  10.     }
  11.     public String getTo(){
  12.         return to;
  13.     }
  14.     public void setSubject(String subject){
  15.         this.subject = subject;
  16.     }
  17.     public void setTo(String to){
  18.         this.to = to;
  19.     }
  20.    
  21. }
  22.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement