Inheritance types, database model, and array partitioning
Filed under SAP
The question
Explain types of inheritance with real-life examples (excluding shape, parents, car). Design a database model (ER diagram + schemas) for an Online Food Ordering website. Write a program to divide an array into two arrays containing prime and non-prime numbers respectively.
No write-up yet. Related questions below have one.
Related SAP questions
Collected from public candidate posts and coding forums. Updated Nov 2026.