File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes Compiler error about new Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Compiler error about new" Watch "Compiler error about new" New topic
Author

Compiler error about new

Aman Adhikari
Greenhorn

Joined: Dec 03, 2011
Posts: 2
i got same problem for this code any one please help??

Arvind Das
Greenhorn

Joined: May 28, 2011
Posts: 3

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

Joined: Oct 13, 2005
Posts: 36453
    
  15
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Compiler error about new
 
Similar Threads
Please critic, rate or give some helpful advice
java array assignmebts
First program by myself. Need help on one error please!
Comparison expresions
Calculating the distance between two points problem