This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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


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: 187
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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: please tell me what is wrong in my code
 
It's not a secret anymore!