This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
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 Java 8 in Action this week in the Java 8 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: 19556
    
  16

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