Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Is it possible to create object with out its default
constructor? if possible how? else not possible? justify

Answer Posted / ravi

class C
{
void show()
{
System.out.println("hi");
}
public static void main(String args[])
{

C c=new C();
c.show();
}
}


we can create object if we don't write the constructor try
execute the above code and see the result; THANK u

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What one should take care of, while serializing the object?

893


What is Java Reflection API? Why it’s so important to have?

1147


Can we create more than one object singleton class?

1029


Is java a virus?

947


What is difference between word and integer?

1071


What is e in java?

953


Can we override the private methods?

1002


What is a return in java?

1024


what is daemon thread and which method is used to create the daemon thread? : Java thread

961


Why does my function print none?

946


What is tcp ip in java?

1101


What is annotation in java?

1046


Which package is always imported by default?

1093


Explain different types of thread priorities ?

1066


What are static blocks in java ?

1091