🎴 Flashcard Mode

Hibernate and C# Programming Fundamentals

Card1 / 20
Mastered0
Review0
QuestionClick to flip

Which of the following is/are correct about Static method ?

AnswerClick to flip back
A
1 & 2
💡 Explanation:

Static methods belong to the class itself, not to instances of the class. Statement 1 is correct: static methods cannot be instantiated with 'new' - you don't create objects to use them. Statement 2 is also correct: static methods can be called from non-static context (instance methods) using the class name. Statement 3 is false: you instantiate classes/objects, not methods. Therefore option D (1 & 2) is correct.

Change Mode