SHARE
TWEET

TesteGerente.java

Welton May 20th, 2018 96 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public class TesteGerente {
  2.  
  3.     public static void main(String[] args) {
  4.         Gerente g1 = new Gerente();
  5.         g1.setNome("Marco");
  6.         g1.setCpf("235568413");
  7.         g1.setSalario(5000.0);
  8.  
  9.         System.out.println(g1.getNome());
  10.         System.out.println(g1.getCpf());
  11.         System.out.println(g1.getSalario());
  12.  
  13.         g1.setSenha(2222);
  14.         boolean autenticou = g1.autentica(2222);
  15.  
  16.         System.out.println(autenticou);
  17.  
  18.  
  19.     }
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