Posts by Ralacfer Fernandes • 11 points
1 post
-
1
votes1
answer129
viewsQ: How to set instance variable using the read value of a Scanner?
To declare the value of a class instance variable Paciente by class Main with the Scanner in Java? Codes: public class Paciente{ private double cod; private String nome; public getNome(){ return…