jQuery in Action, 2nd edition*
The moose likes Beginning Java and the fly likes Creating and Printing Objects Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Creating and Printing Objects" Watch "Creating and Printing Objects" New topic
Author

Creating and Printing Objects

Kevan Ryan
Greenhorn

Joined: Feb 08, 2010
Posts: 9
Hey Javaranchers,

At the moment, I am struggling through learning the concept of creating your own objects in Java. Right now, I'm attempting to create a class and object, and then print the said object. The program compiles and runs fine, but does not print anything. Because I'm new to the concept of objects, I'm pretty sure the logic of the program is not correct, but I don't know where to look first.

Any advice would be much appreciated.

Thanks in advance



||
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Your Main.main doesn't do anything. You're not running Rational.main.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Creating and Printing Objects
 
Similar Threads
Wrappers question
accesing variable of default package inside the package class
Pass value
Help with error in running program
Is Stack and push() on the exam?