Click here to Skip to main content
15,891,136 members
Articles / Programming Languages / Java

Be Careful with Virtual Method Calls from the Constructor (and Destructor) of your Classes in C++/C#/Java!

Rate me:
Please Sign up or sign in to vote.
4.67/5 (12 votes)
24 Aug 2013CPOL11 min read 84.3K   27  
Avoid accidental virtual method calls in C++ constructors/destructors, Java constructors and be careful with them in C#!

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
United Kingdom United Kingdom
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions