Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

use of constructor and make exe file

 
IMRAN HUSSAIN
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

  • 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

  •  
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic