Hi all! Can anyone explain why should we use static method getInstance()? Why not just use static methods for accesing DB? Is it some kind of design pattern?
-- Best regards, Dmitri Neverov
Hi all! Can anyone explain why should we use static method getInstance()? Why not just use static methods for accesing DB? Is it some kind of design pattern?
-- Best regards, Dmitri Neverov