#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2011
    Posts
    1
    Rep Power
    0

    Write a java program without a main function


    hi

    this is gokul
    new to this forum,
    and i need to know that a java program without main function
    could anyone tell me pls ?
  2. #2
  3. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2012
    Posts
    33
    Rep Power
    0
    I don't think it is a nice idea...
    Besides why you want to create java program without main function?????
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2012
    Posts
    6
    Rep Power
    0

    i dont thinh you can


    you cant make a program without the main class

    but you can save what you are doing as a class
    and save it in a package hence you will be able to use that class whenever needed by calling it

IMN logo majestic logo threadwatch logo seochat tools logo