If a class has synchronized methods, does its subclass also have the same synchronized methods, whether simply inherited or overriden by the subclass?
Specifically,
the legacy
Vectorhas synchronized methods, andStackis a subclass ofVector. DoesStackalso have synchronized methods?the legacy
Hashtablehave synchronized methods, andPropertiesis a subclass ofHashtable. DoesPropertiesalso have synchronized methods?
Motivations of my questions are from What are the replacements for legacy collections `Stack` and `Properties`?
Thanks.