Categories
Management Physics Fuzzy Intelligence Computer Programming Applied Physics Computer science Java Programming Pharmacy Botony Fundamentals of Operating Systems Political sciences Behavioural Science Network Technologies and TCP/IP Boilers and Welding Statistics Data Communication and Computer Networks Generic Project Management Biological Systems On Docsity Languages Geochemistry Statistics and Economics Business Management Software Engineering Statistics for Psychologists Civil procedure Political Science Internet and Java Programming Law Fundamentals of Information Technology Operating System Soil Mechanics and Foundations Analytical Chemistry Social Psychology Computer Architecture Microeconomics Introduction to Business Biology Biostatistics Communication Skills Professional Communication for Pharmacists Psychology History & Philosophy Job and Internships Economics College Physics A Psycology & Sociology Business Law Computer Graphics and Animation Developmental Psychology Basic Electrical Engineering Biology & Chemistry Business Administration Law of Torts Criminal Law History Human Resource Management Security Analysis Effective Business Communication American (United States) History Engineering Physics Biochemistry Admission tests Agronomy United States Philosophy The Physics of Everyday Life Methods in Psychology Digital electronics Pyhsics and AstroPhysics Finance English Grammar Chemistry Introduction to the Science and Engg Aerospace Engineering Economic Theory Mathematics Accounting Advanced Physics Engineering Business System Literature and Communication Object Oriented Programming Computer Fundamentals Consumer Behaviour Engineering Materials Financial Management Managerial Economics Sociology General Pharmacy Management Information Systems Advanced Computer Architecture Medicine and Pharma Questions on universities Information System Analysis and Design Electronics and Communication

What is a default constructor?

0 votes

November 8th, 2012 09:02
in Java Programming by birkinshaw (North Carolina State University (NC), Sociology)

What is a default constructor?

Hi all community, I want to ask, what is default constructor and idea behind this?

5 Answers
0 votes

November 9th, 2012 07:20
hollyb (Stanford University (CA), Computer science)
"In fact, the compiler will generate its own default constructor for a class provided that no other constructors have been defined by the programmer. The compiler generated default constructor initializes the member variables of the class using their respective default constructors. "

Please log in or register to add a comment.

0 votes

November 10th, 2012 05:40
tomcrawford (Yale University (CT), General physics, phd)
The standard builder is really a constructor which includes absolutely no guidelines.

Please log in or register to add a comment.

0 votes

November 10th, 2012 06:50
loveu (University of California (CA) - UCLA, Brand management)
Throughout on-line languages the term “default option constructor” refers to a new builder that is certainly immediately generated without explicit constructors (along with perhaps nether some other conditions); that mechanically presented constructor is usually a nullary builder. Throughout stipulation or talk of some 'languages', “fall behind constructor” may additionally consider virtually any constructor which can be called with no quarrels. Ii instances occur in this article: both it's a nullary constructor or maybe all its boundaries possess default ideals.

Please log in or register to add a comment.

0 votes

November 10th, 2012 07:55
rogerpapa (University of Hyderabad, General law)
secret -> foundation class's general public customers will probably be non-public

Please log in or register to add a comment.

0 votes

November 10th, 2012 08:32
lathika (Rashtrasant Tukdoji Maharaj Nagpur University, Basic Human Biology)
"Your builder which takes zero quarrels is termed the actual standard constructor . E.h., the particular default option constructor can be invoked if a adjustable is actually expressed similar to this: Difficult chemical; "

Please log in or register to add a comment.

Related questions
7 Answers
Answer
magicphil (Massachusetts Institute of Technology (MIT) (MA), Phd on mechanics)
2 Answers
Answer
country.side (Middle Tennessee State University (TN), General sociology)
6 Answers
Answer
theeconomist1 (California State University (CA), Dynamic psycology)
Subjects