This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

code  RSS feed

 
manish chopra
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
could someone please guide me on the following and if possible suggest to me what i havent coded properly code error message:incompatible type for '=' & undefined variable or class name.

Marilyn deQueiroz added code tags.
[This message has been edited by Marilyn deQueiroz (edited December 24, 2000).]
 
Marilyn de Queiroz
Sheriff
Posts: 9080
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Super should have a lower case 's'.
public void displaDetails() in Applicant
is spelled differently than
void displayDetails() in CandSpecif.
Also the access modifier is different between the two methods.

I'm moving this to the Java in General Beginners forum for more comments.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!