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

Compiler error about new  RSS feed

 
Aman Adhikari
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i got same problem for this code any one please help??

 
Arvind Das
Greenhorn
Posts: 3
Java Linux MySQL Database
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hii Aman
Can you please tell me as why did you use "new" keyword with input? Remove them and check, it should work.
 
Campbell Ritchie
Marshal
Posts: 55698
163
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Aman Adhikari wrote:i got same problem for this code any one please help?? . . .
That looks like a different error, so this ought to be a new thread. I see you have a helpful reply already.

And (even though it’s late) welcome to the Ranch
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!