where is the wrong in my code...anyone can clarify it
package com.codegym.task.task05.task0503;
/*
Getters and setters for the Dog class
*/
public class Dog {
String name;
int age;
Doggy dog=new Doggy();
dog.getName;
dog.setName("Bucky");
dog.getAge;
dog.setAge(12);
public String getName(){
return name;
}
public void setName(String name){
this.name;
}
public int getAge(){
return age;
}
public void setAge(int age){
this.age;
}
public static void main(String[] args) {
}
}