Skip to main content
2 of 6
added 48 characters in body; added 8 characters in body

The difference is, that in your first code snippet your calling the parameterless base class constructor, whereas in your second code snippet you're calling the base class constructor that accepts a parameter.

Your base class might be defined as follows:

class qwe{ public qwe(){ /* Some code */ } public qwe(AnotherClass ac){ /* Some other code */ } }