Conteúdo do Curso
Java Extended
Java Extended
Updating User Information
Tarefa
Your task is to create a Country
class. It should have fields: name
, population
, and continent
on which the country is located. All fields in this class should have a private
access modifier. You should also write getters and setters for each field in this class. The main
method is already prepared, your task is to implement the Country
class:
Obrigado pelo seu feedback!
Updating User Information
Tarefa
Your task is to create a Country
class. It should have fields: name
, population
, and continent
on which the country is located. All fields in this class should have a private
access modifier. You should also write getters and setters for each field in this class. The main
method is already prepared, your task is to implement the Country
class:
Obrigado pelo seu feedback!
Updating User Information
Tarefa
Your task is to create a Country
class. It should have fields: name
, population
, and continent
on which the country is located. All fields in this class should have a private
access modifier. You should also write getters and setters for each field in this class. The main
method is already prepared, your task is to implement the Country
class:
Obrigado pelo seu feedback!
Tarefa
Your task is to create a Country
class. It should have fields: name
, population
, and continent
on which the country is located. All fields in this class should have a private
access modifier. You should also write getters and setters for each field in this class. The main
method is already prepared, your task is to implement the Country
class: