my dog learned polymorphism*
The moose likes Beginning Java and the fly likes Java 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 » Java » Beginning Java
Bookmark "Java" Watch "Java" New topic
Author

Java

Shantanu Puranik
Ranch Hand

Joined: Jun 10, 2004
Posts: 67
How can we make a plain (ordinary) Java class to be a reusable one?
Difference between Java Bean & Bean class


--- Shantanu
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Moved to Java In General (Beginner)


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Lorenz Baylon
Ranch Hand

Joined: Jan 04, 2006
Posts: 99
How can we make a plain (ordinary) Java class to be a reusable one?

-- If you are referring to a java class being used as a 'utility class' or a class that can be called by other class within a project or package to perform some functions, i suggest that you declare those methods as public so that other classes may see them.

I hope this helps a bit.


I just cant look, its killing me.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java