New answers tagged class
2
votes
Why have private static methods?
“static” and “private” are orthogonal concepts. You want some methods to be static, and others to be instance methods. You want some methods to be private, others to be public. These are independent. ...
Top 50 recent answers are included
Related Tags
class × 304object-oriented × 88
c++ × 48
java × 43
c# × 35
class-design × 35
python × 33
design × 28
object × 21
object-oriented-design × 20
interfaces × 17
php × 16
uml × 16
javascript × 14
inheritance × 14
design-patterns × 13
functions × 12
class-diagram × 11
architecture × 8
naming × 8
methods × 8
constructors × 8
programming-languages × 6
database × 5
programming-practices × 5