coding style - Clean Code: Is defining an abstract class without any abstract methods a Java Practice? -


currently, have code create base class methods children classes. haven't declared abstract classes. java practice?

it depends on requirement. if intend write base class getting extended can declare abstract. abstract class provides default behaviour otherwise can write interface if need declare methods.


Popular posts from this blog

javascript - Js, document.getElementById("ID").innerHTML, error -

jquery - jqGrid update specific column data with out refreshing the entire column? -

objective c - Is there a way in OCMockito to make stubs fail when an unknown method is called? -