A constructor has no explicit return type,It is not implicitly inherited and it usually has different rules for scope modifiers.
Constructor will be automatically invoked when an object is created whereas method has to be called explicitly.
Constructor name should match with that of class
Jul 22nd, 2013
Did you know? You can earn $20 for every friend you invite to Studypool!