This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes compile time errors Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "compile time errors" Watch "compile time errors" New topic
Author

compile time errors

Venkat Ramsimha
Ranch Hand

Joined: Dec 28, 2004
Posts: 127
public class Foo {
public void doStuff(int y, String s) { }
public void moreThings(int x) { }
}
class Bar extends Foo {
public void doStuff(int y, float s) throws IOException { }
}

Hi all,
the above program is giving compile time errors can anybody please correct the above


thanks
venkat
deepu Bhalotia
Ranch Hand

Joined: Apr 19, 2005
Posts: 39
In Overloading Overloaded method in Subclass can throw any Exception.

I think this code is totally valid and should n't throw any compile time error.

Can you just provide me.. What is the Error Message....


Deepak
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: compile time errors