What is the difference between static and class?

A class method takes cls as the first parameter while a static method needs no specific parameters . A class method can access or modify the class state while a static method can’t access or modify it. In general, static methods know nothing about the class state.

Sizin İçin Seçtik  WhatsApp Görüntülü Konuşma kaydediyor mu?

Leave a Reply

Your email address will not be published. Required fields are marked *