Guest User

Untitled

a guest
Mar 23rd, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. package datosgenerales;
  2. /*
  3. * To change this license header, choose License Headers in Project Properties.
  4. * To change this template file, choose Tools | Templates
  5. * and open the template in the editor.
  6. */
  7.  
  8. /**
  9. *
  10. * @author Karina Mina
  11. */
  12. class Dato {
  13.  
  14. String dato;
  15.  
  16. public Dato(String dato) {
  17. this.dato = dato;
  18. }
  19.  
  20. public void Mostrar() {
  21. System.out.println(dato);
  22. }
  23. }
Add Comment
Please, Sign In to add comment