Interview Questions  

Go Back   Interview Questions > Interview Questions & Answers > Information Technology > Java > Core Java

Core Java Core Java Interview Questions, Learn by sharing Core Java Interview Questions asked in various companies, Get Career advices, Interview Procedures from Core Java experts, Post asked Core Java Interview Questions and Answers.

   

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-25-2008, 02:15 PM
Member
 
Join Date: Jul 2008
Location: West Bengal,India
Posts: 48
Default When does the compiler supply a default constructor for a class?

When does the compiler supply a default constructor for a class?
__________________
Asit Kumar Purohit.
SRIC,IIT Kharagpur.
West Bengal,India
Mail me
Reply With Quote
  #2 (permalink)  
Old 07-26-2008, 10:22 AM
Junior Member
 
Join Date: Jul 2008
Posts: 3
Default

If you haven't define constructor in your program then at the time instantiation jvm itself supply a default constructor.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On