overriding methods

pineapple via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Apr 5 12:22:07 PDT 2016


On Tuesday, 5 April 2016 at 18:54:39 UTC, stunaep wrote:
> I had no error on the examples I posted, only when using 
> @Override previously. It just says to use override attribute 
> instead of @Override

Unlike in Java, D's override indicator doesn't look like an 
annotation, it's just a keyword placed before a method along the 
same lines as "static" or "public" or "protected".


More information about the Digitalmars-d-learn mailing list