SHARE
TWEET

listacursos

a guest Oct 23rd, 2019 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public class ListaCursos {
  2.    
  3.    
  4.     private List<Curso> lista=new ArrayList();
  5.  
  6.     public List<Curso> getLista() {
  7.         return lista;
  8.     }
  9.  
  10.     public void setLista(List<Curso> lista) {
  11.         this.lista = lista;
  12.     }
  13.    
  14.    
  15.     public void add(Curso c){
  16.         lista.add(c);
  17.     }
  18.    
  19.    
  20. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top