← Quiz: What Is OOP: all 10 questions
Quiz: What Is OOP · Question 6 of 10
In procedural code (like C), what problem appears as a program grows?
In procedural code (like C), what problem appears as a program grows?
- A.Functions cannot call other functions
- B.Programs cannot store data
- C.Any function can change any data, so bugs become hard to trace
- D.Code cannot be compiled
Answer & explanation
Correct answer: Any function can change any data, so bugs become hard to trace
OOP keeps each object's data together with the methods that protect it.
Can you get the rest right without peeking?
Take the timed Quiz: What Is OOP quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →