In Java OOP, what is the primary production engineering use case of 'Class and Object'?
-
A. Modeling domain entities (
Student,BankAccount,Order) with cohesive state and domain methods. - B. Bypassing compile-time type safety and disabling runtime exception propagation.
- C. Hardcoding environment credentials directly inside static source constants.
- D. Replacing all relational constraints with unvalidated raw string concatenation.
✓ Reveal Answer & Explanation
Correct Answer: Option A
'Class and Object' is used in production Java OOP specifically for: Modeling domain entities (Student, BankAccount, Order) with cohesive state and domain methods.