View Single Post
  #2 (permalink)  
Old 07-31-2007, 07:11 PM
brianhks brianhks is offline
Senior Member
 
Join Date: Jul 2007
Posts: 134
brianhks will become famous soon enough
Instantiate the object.

Code:
public class MyObject { private void privateMethod() { /*do stuff*/ } public static void main(String[] args) { MyObject mo = new MyObject(); mo.privateMethod(); } }
Reply With Quote