Thread: Static fields
View Single Post
  #13 (permalink)  
Old 04-22-2008, 11:14 AM
Eranga's Avatar
Eranga Eranga is offline
Moderator
 
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 2,338
Eranga has a spectacular aura aboutEranga has a spectacular aura about
Send a message via Yahoo to Eranga
Here is a simple example.

Code:
public abstract class AbstractTesting { public static void main(String[] args) { AbstractTesting.printMessage(); } public static void printMessage() { System.out.println("Java Forums!"); } }
So, the answer to your question is, yes. But all it depends on the way you workout on the application, depend on the way you designed application/project.
__________________
Use an appropriate Subject. "Help, urgent!" isn't one.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Has someone helped you? Then you can
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
their helpful post.

Want to make your IDE the best?
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Reply With Quote