QuestionQ77Verified/Advanced Object-Oriented ProgrammingCopy linkReport a problemAsk AstroTutorSave questionWhat is a static method?AA method that works on the class itselfBA method decorated with the @method traitCA method that requires no parameters referring to the class itselfDA method that works on class objects that are instantiatedShow AnswerAnswerExplanationA static method is associated with a class’s namespace but receives no automatic reference to either an instance or the class itself; it behaves like a regular function placed within the class.Show comments0Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion