"final" keyword is useless in traits when directly using them

Keep in mind; "final"keyword is useless in traits when directly using them, unlike extending classes / abstract classes.




But this way will finalize trait methods as expected;



你可能感兴趣的:("final" keyword is useless in traits when directly using them)