Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.company;
- public class Aluno {
- public String nome;
- public String cpf;
- public String sexo;
- public Aluno(String nome, String cpf, String sexo) {
- this.nome = nome;
- this.cpf = cpf;
- this.sexo = sexo;
- }
- public String getNome() {
- return nome;
- }
- public void setNome(String nome) {
- this.nome = nome;
- }
- public String getCpf() {
- return cpf;
- }
- public void setCpf(String cpf) {
- this.cpf = cpf;
- }
- public String getSexo() {
- return sexo;
- }
- public void setSexo(String sexo) {
- this.sexo = sexo;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement