Question

What is a "method" in the context of OOP?

A A variable that stores data within an object.
B A special type of class used for inheritance.
C A function that belongs to a class and defines the behavior of its objects.
D A keyword used to declare a new object.
E A data type used for storing complex information.
Practice Next

Hey! Ask a query

🎓
Think You're Ready for RBI Grade B?
RBI Grade B 2026 Phase 1 Memory Based Paper
  • 200 Questions with Detailed Solutions
  • Section-wise Coverage (GA, English, Quant & Reasoning)