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

Explain role of constructor in a java application?

Answer Posted / sonal

Without a constructor u cannot make an object or instance
of a class.
Every class must have a constructor. If no constructor is
provided the complier will provide default constructor at
run time.

Is This Answer Correct ?    33 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which programming language is most secure?

1039


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

1459


Is null a keyword in java?

1025


What are the rules for variable declaration?

1015


How does java enable high performance?

1201


What modifiers are allowed for methods in an interface?

1217


What is the difference between java applets and applications?

1218


What happens if constructor is private?

1074


What is classpath?

1068


Can we convert stringbuffer to string?

1055


When super keyword is used?

1059


Write a code to show a static variable?

1137


Java Compiler is stored in JDK, JRE or JVM?

1564


What is core java called?

1025


What is the purpose of using break in each case of switch statement?

1068