🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← 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?

  1. A.Functions cannot call other functions
  2. B.Programs cannot store data
  3. C.Any function can change any data, so bugs become hard to trace
  4. 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 →