File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes constructer Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "constructer" Watch "constructer" New topic


seema chhetri
Ranch Hand

Joined: Feb 17, 2009
Posts: 43

Please let me know that how i can call a default constructer in a parametrised construter.

Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10768

How difficult is it to try it out yourself and find out? All you need to do is add one line

[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
seema chhetri
Ranch Hand

Joined: Feb 17, 2009
Posts: 43
hello ,

i want to know as i made one class in which there is a default constructer b4 there was a parametrised constructer.but i removed the parameter and i maked this class a singleton class with default constructer . and in the constructer of another class we have passed the parameter in the object of this class . now in that parameter there is two string . like

I agree. Here's the link:
subject: constructer
It's not a secret anymore!