• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Compiler error about new

 
Aman Adhikari
Greenhorn
Posts: 2
  • 0
  • 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
  • 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: 47229
52
  • 0
  • 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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic