For example, ipo abstract class la method definition mattum irukku, implementation ila. So derrieved class la adhu implement pannuvom.. in that case we need to override that? or override is not needed? or We need to override always? Please reply asap. EDIT 1 : FYI, na 8 years experienced .NET developer, as far as I know we *HAVE TO override* the methods on implementing it in derrieved classes. I think you missed that to mention. Please correct me if im wrong. Thanks.. EDIT 2 : And, one more thing Interfaces can also have properties (member fields) I think. May be new versions la idhu include panni irukkalam, im not sure about that. But I remember I used properties within interfaces.
@Micah_Tech2 ай бұрын
1. In abstract class, if the method implementation is not there means we need to implement that method in derived methods with overrise keyword (this is mandatory, otherwise it will throw error). 2. interface cannot contain fields, but it can contain property. i mean "int SalaryGrade = 10;" is not allowed, but "int SalaryGrade { get; set; }" is allowed