package com.codegym.task.task05.task0503; /* Getters and setters for the Dog class */ public class Dog { //write your code here String name; int age; public getName(String name) { return name; } public void setName(String name) { this.name = name; } public getAge(int age) { return name; } public void setAge(int age) { this.age = age; } public static void main(String[] args) { } }