Open main menu

CDOT Wiki β

Changes

Assignment 2 (Release 0.1): Q & A

680 bytes added, 11:51, 4 October 2012
Q & A
'''A:''' Since the position to print the string is not given, we print the string at the top left corner of the frame to whatever can fit in the frame. We do this by invoking the display() function from assignment 1.<br>
'''Submitted by:''' Gideon Thomas and Marie Karimizadeh<br><br>
 
'''Q:''' Is there anything by the name virtual constructor? <br>
'''A:''' In C++, there is concept of virtual destructor only.No virtual constructors in c++ as constructor requires exact type and as we know virtual function deals with polymorphic behavior of objects. <br>
'''Submitted by:''' Shajinth Pathmakulaseelan and Auquib Rasul, Team 2 <br><br>
 
'''Q:''' Can we create references of abstract classes ? <br>
'''A:''' By Abstract we mean classes that have atleast one pure virtual function.We cannot create objects of abstract class but Yes references of abstract classes can be created. <br>
'''Submitted by:''' Shajinth Pathmakulaseelan and Auquib Rasul, Team 2 <br><br>
== Bug Reports ==