What is main method and run method can anyone explain for me?

<PLEASE USE THE FOLLOWING TEMPLATE TO HELP YOU CREATE A GREAT POST!>

<Below this line, add a link to the EXACT exercise that you are stuck at.>
https://www.codecademy.com/courses/learn-java/lessons/object-oriented-programming/exercises/methods-2?action=lesson_resume&link_content_target=interstitial_lesson

<In what way does your code behave incorrectly? Include ALL error messages.>

Dog.java:12: error: illegal start of expression
public void run(){
^
Dog.java:12: error: illegal start of expression
public void run(){
^
Dog.java:12: error: ‘;’ expected
public void run(){
^
3 errors



Replace this line with your code. 


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