nextRound
TechnologiesCoding ProblemsBookmarksLearning PathsLogin
nextRound
TechnologiesCoding ProblemsBookmarksLearning PathsLogin
nextRound

AI-powered interview preparation platform. Practice with curated questions, mock interviews, and personalized learning paths to crack your dream tech interview.

Quick Links

  • Technologies
  • Mock Interviews
  • Saved Questions
  • Pricing

Company

  • About Us
  • Contact Us

Legal

  • Privacy Policy
  • Terms of Use

© 2026 nextRound. All rights reserved.

1Design a simple Logger class. Should it be Static, Singleton, or injected via Interface? Justify.Advanced2How would you design a system for a Car that has different engine types (Petrol, Diesel, Electric)? Show the OOP model.Intermediate3How would you model a Bird class? What issues arise when you try to add a Penguin or Ostrich? (LSP violation)Advanced4You have a class that validates user input. The validation rules change frequently. Which pattern would you use and why?Advanced5How do you design an Undo/Redo functionality? (Command Pattern)Advanced6How would you design a Plugin Architecture?Advanced7How do you handle Cross-Cutting Concerns (Logging, Caching, Authentication) without polluting business logic? (AOP/Proxy/Decorator)Advanced8You need to cache data. Some data expires in 1 minute, some in 1 hour. How do you design this using OOP?Intermediate9How would you design a Payment Gateway integration that supports multiple providers (PayPal, Stripe)?Advanced10What is the Anemic Domain Model? Why is it considered an anti-pattern by many?Advanced11What is Domain-Driven Design (DDD) in a nutshell? How does it relate to OOP?Advanced
All Topics
1
Basics
Inheritance and Composition
2
Polymorphism
Interfaces and Abstract Classes
Access Modifiers and Scope
Advanced Concepts and Design Principles
3
Trees
Real-World Design and Architecture Scenarios
Sharethis topic

Share via WhatsApp, X, Facebook, LinkedIn or copy link. Open Graph preview enabled.