File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Compiler Error Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Professional Certification » Programmer Certification (SCJP/OCPJP)
Reply Bookmark "Compiler Error" Watch "Compiler Error" New topic
Author

Compiler Error

Mallik Kumar
Greenhorn

Joined: Nov 26, 2011
Posts: 12


Source: just coding to get the concepts clear
Why doesn't this compile?
Tse Wu
Greenhorn

Joined: Jan 05, 2012
Posts: 10
Hi Mallik,
It should be

new SameRun().run("Overloaded");


OCPJP 1.6
Mallik Kumar
Greenhorn

Joined: Nov 26, 2011
Posts: 12
Sorry...silly of me.......
 
 
subject: Compiler Error
 
Threads others viewed
how to invoke an overloaded run(String s) method ,is it possible ?
run() method
Doubt in Thread output
how can a thread invoke an overloaded run
Overloading Thread.run( )
IntelliJ Java IDE