wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets 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: 19649
    
  18

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.
 
wood burning stoves
 
subject: unable to detect and correct d error..plss help
 
Similar Threads
Stacks using Arrays
Khalid Mughal - Example 1.3
getting output without creating object ?
Stacks Need Help
infix to postfix, need help catching errors such as having extra parenthesis