Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Java in General and the fly likes use of constructor and make exe file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "use of constructor and make exe file" Watch "use of constructor and make exe file" New topic
Author

use of constructor and make exe file

IMRAN HUSSAIN
Greenhorn

Joined: Feb 11, 2002
Posts: 1
assalamoalliukm
my name is hussain.i want to know that what is the main use of contructor mean to say that where the best use of constructor.when and where we want to use constructor intead of method.
my second question is that how we can make exe file in java so that it can be run on microsoft platform.
i will be very thankfull to u thanks
allahafiz
Shriram Shivakumar
Ranch Hand

Joined: Jun 20, 2000
Posts: 42

  • To get a detailed explanation about constructors, check out http://java.sun.com/docs/books/tutorial/java/javaOO/constructors.html
  • Check out this post which discusses ways to create executables in windows platform: http://www.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=1&t=002634


  • -Shriram Shivakumar
     
    With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
     
    subject: use of constructor and make exe file