aspose file tools*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes please tell me what is wrong in my code 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 » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "please tell me what is wrong in my code" Watch "please tell me what is wrong in my code" New topic
Author

please tell me what is wrong in my code

maggie karve
Ranch Hand

Joined: Dec 29, 2009
Posts: 186
i am getting compile error when trying to add elements
Wouter Oet
Saloon Keeper

Joined: Oct 25, 2008
Posts: 2700

The code in FirstGrade is not in a method


"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.
Phungsuk Wangdu
Ranch Hand

Joined: Nov 04, 2009
Posts: 114
Well I think the reason is as suggested by Wouter Oet that is the absence of main method..
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: please tell me what is wrong in my code
 
Similar Threads
Doubt in Comparable interface
Dog is not abstract and does not override abstract method
Doubt in Collection
K&B chapter 7 question 15. Collections.
Illegal start of expression compilation error