Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

constructor

 
Doit
Ranch Hand
Posts: 169
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The access modifier of default constructor created is ???
a)public
b)accessmodifier of the class
I think it is access modifier of the class
- Thanks.
 
chetan nain
Ranch Hand
Posts: 159
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
correct
the access modifier of the default construcor is set to the modifier of the respective class
 
Doit
Ranch Hand
Posts: 169
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Chetan.
Can u please try to look at my previous postings also?? I am going to give the test this week.
- Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic