View Single Post
  #3  
Old 07-18-2017, 12:47 AM
viewer viewer is offline
Junior Member
 
Join Date: Jul 2017
Location: India
Posts: 2
Default

Of course you can! If work needs to be done in the constructor so that data is ready and consistent as soon as an object is constructed, then do it in the constructor.
Reply With Quote