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 unable to detect and correct d error..plss help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "unable to detect and correct d error..plss help" Watch "unable to detect and correct d error..plss help" New topic
Author

unable to detect and correct d error..plss help

Abhilash Sharma
Ranch Hand

Joined: Dec 05, 2010
Posts: 67

this is stack implementation using java
the error occur in 74 line when while(!stack.isEmpty()) is called.
it says ';' expected...m unable to detect dis. ..please anyone can correct d mistake...

here is d code..




OCPJP 6 | OCEJWCD 6
Lester Burnham
Rancher

Joined: Oct 14, 2008
Posts: 1337
You're using a keyword that doesn't exist. (Hint: Java is case-sensitive.)
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19718
    
  20

Welcome to the Ranch!

Please:
1) UseCodeTags next time. I'll add them for you this time.
2) UseRealWords. "d", "dis", "m unable" should be "the", "this" and "I am unable".


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Wouter Oet
Saloon Keeper

Joined: Oct 25, 2008
Posts: 2700

Also format you code properly. Use indentations and blank lines to group related lines of code (methods for instance).


"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: unable to detect and correct d error..plss help