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...

why the constructor should be used in class,if there is no
constructor what will happen?

Answer Posted / devarathnam c,kotagudibanda(po

Hi... Nothing will happen the compilet will supply the
default constructor of the class.Normally canostructor can
be used to instantiate an object.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is flush () in java?

1013


What is the output of the below java program?

1052


What does those terms actually mean included in the j.d.k i.6?

2126


Given a singly linked list, determine whether it contains a loop or not without using temporary space?

990


Do I need to import java.lang package any time? Why?

1395


What is an immutable object?

1106


Explain the difference between a Thread and a Process.

1006


What is the different types of functions?

1059


Differences between C and Java?

1210


How can I debug the Java security exceptions and AccessControlExceptions?

1158


If you are given the name of the function at run time how will you invoke the function?

1139


What is difference between static class and normal class?

1125


Can a class be declared as protected?

1020


What is the importance of hashcode() and equals() methods?

1056


How does enum work in java?

1027