Sep 23

You can achieve that by using a static block


public class StaticBlockTest
{
   static
   {
      // this block will get run once 
      // when the class first loads
   }
} 

written by objects \\ tags: ,


Leave a Reply

You must be logged in to post a comment.