Computer Science, asked by Harpreetdhanju6119, 1 year ago

What is the difference private function and static function in opps?

Answers

Answered by VijayBrainly123
0
hi
You can put the static keyword before or after the method's visibility. However, by convention, the visibility is declared first. private static$static_property; The static methods and static properties are not linked to any particular object of the class but the class itself.

VijayBrainly123: pls mark as
VijayBrainly123: Brainliest
Similar questions