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 Inner class 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 "Inner class" Watch "Inner class" New topic
Author

Inner class

Juan Manuel Alberto de los Santos
Ranch Hand

Joined: Jun 26, 2008
Posts: 48
How can i make the dog bark ?



Thanks !
Santhosh Kumar
Ranch Hand

Joined: Nov 07, 2000
Posts: 242
This is how you would make it bark.



However if you want to execute this class from command line, you must change the visibility of main class to public, else JVM wouldn't be able to access it.
Bill Shirley
Ranch Hand

Joined: Nov 08, 2007
Posts: 457
and then execute the class as an application



Bill Shirley - bshirley - frazerbilt.com
if (Posts < 30) you.read( JavaRanchFAQ);
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Inner class
 
Similar Threads
method call
Doubt Example
Please clarify my understanding of Polymorphism
Learning about objects
'void' type not allowed here