Someone Please Help Me With This Problem Lol :D

I Am Stuck On This Problem

Problem #2 Says Inside the bark method, type:


When I type it in I keep getting an error message this is the code I type in:

{ public void bark (System.out.println(“Woof!”);


But I get an error can someone please help me and give me the code please lol (:

“inside the bark method” doesn’t mean “in the parenthesis where the parameter list goes”

 public void bark() {
    // this is "inside the bark method"


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.