Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * To change this template, choose Tools | Templates
- * and open the template in the editor.
- */
- /**
- *
- * @author univag
- */
- public class aluno {
- String nome;
- String cpf;
- String telefone;
- Double n1;
- Double n2;
- Double n3;
- Double n4;
- Double media() {
- Double n = (n1 + n2 + n3 + n4) / 4.0;
- return n;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement