Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Compiler error about new

 
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
Sheriff
Pie
Posts: 49405
62
  • 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