• Post Reply Bookmark Topic Watch Topic
  • New Topic

Compilations error  RSS feed

 
Lawk Salih
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am trying to compile the following code but I get an error message saying, "The method getCourseName() is undefined for the type GradeBook."



Can one help me please.

Thanks,

Lawk
 
marc weber
Sheriff
Posts: 11343
Java Mac Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to JavaRanch!

Remember, Java is case sensitive. You just have a typo in your method declaration...

[ February 10, 2008: Message edited by: marc weber ]
 
Lawk Salih
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Aaaah!
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!