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

c# - ODP.NET Oracle.ManagedDataAccess causes ORA-12537 network session end of file -

matlab - Compression and Decompression of ECG Signal using HUFFMAN ALGORITHM -

utf 8 - split utf-8 string into bytes in python -