Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class JavaAberto(){
- public static void main(String[] args) {
- //cria objeto cliente
- Clientes objCliente = new Clientes();
- //altera o nome do cliente
- objCliente.setNome("JavaMan");
- //mostra o nome do cliente
- JOptionPane.showMessageDialog(null,objCliente.getNome);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement