| Title | Open | |||
|---|---|---|---|---|
| 641 | Override a Virtual MethodThe base class Animal has a virtual method Speak. | easy | Not started | Solve |
| 642 | Two Overloaded Print MethodsThe Printer class already has a Print(int) method. | easy | Not started | Solve |
| 643 | Overload Add By ArityThe Calculator class has an Add method that sums two int values. | easy | Not started | Solve |
| 644 | ToString Override for PointOverride the ToString method on the Point class so printing a point shows it as (X, Y). | easy | Not started | Solve |
| 645 | Implement an Abstract MethodThe abstract class Shape declares an abstract method Area with no body. | easy | Not started | Solve |
| 646 | Implement an InterfaceThe interface IGreeter declares a method Greet that returns a string. | easy | Not started | Solve |
| 647 | Virtual Property OverrideThe base class Employee has a virtual read-only property Role that returns Employee. | easy | Not started | Solve |
| 648 | Call Base Method in OverrideThe base class Logger has a virtual method Log that prints Base log. | easy | Not started | Solve |
| 649 | Sealed OverrideThe base class Widget has a virtual method Draw. | easy | Not started | Solve |
| 650 | Overload By Parameter TypeThe Formatter class has a Show(int) method. | easy | Not started | Solve |
| 651 | Interface PropertyThe interface IProduct declares a read-only Name property. | easy | Not started | Solve |
| 652 | Polymorphic Method ParameterThe Speaker class has a method Announce(Animal a). | easy | Not started | Solve |
| 653 | Abstract Property ImplementThe abstract class Animal declares an abstract read-only property Sound. | easy | Not started | Solve |
| 666 | Override a Calculated ResultThe base class Shape has a virtual method Area() that returns 0. | easy | Not started | Solve |
| 667 | Extend the Base Method with baseThe base class Greeter has a virtual method Greet() that returns Hello. | easy | Not started | Solve |
| 668 | Overload a Method by Argument CountMethod overloading (compile-time polymorphism) lets one method name have several versions with different parameter lists. | easy | Not started | Solve |
| 669 | Overload a Method by Parameter TypeOverloads can also differ by parameter type. | easy | Not started | Solve |
| 670 | Polymorphic ToStringConsole.WriteLine on an object calls that object's ToString(), and the object's real type decides which version runs. | easy | Not started | Solve |
| 671 | Implement an Interface MethodAn interface lists methods a class promises to provide. | easy | Not started | Solve |
| 672 | Override a Virtual PropertyProperties can be virtual and overridden just like methods. | easy | Not started | Solve |
| 673 | One Method, Many AnimalsA method that takes a base-class parameter can accept ANY derived object. | easy | Not started | Solve |
| 674 | Override a Void MethodOverriding also works for methods that return nothing. | easy | Not started | Solve |
| 675 | Implement an Abstract PropertyAbstract classes can declare abstract properties that each derived class must fill in. | easy | Not started | Solve |
| 782 | Override Equals for Value EqualityOverride the inherited Equals(object? | easy | Not started | Solve |
| 783 | Chain to the Base ConstructorVehicle has a constructor that takes a make and stores it in Make. | easy | Not started | Solve |
| 654 | Polymorphic List TotalComplete AreaCalculator.TotalArea so it returns the sum of Area() for every Shape in the list. | medium | Not started | Solve |
| 655 | Operator OverloadingOverload the + operator on the Vector class so adding two vectors adds their X and Y components. | medium | Not started | Solve |
| 656 | Iterate Interface ImplementersThe interface IShape is implemented by Circle and Triangle, each returning a different Describe() string. | medium | Not started | Solve |
| 657 | Classify By Runtime TypeComplete Classifier.Classify so it returns Dog, Cat, or Unknown depending on the actual runtime type of the Animal passed in. | medium | Not started | Solve |
| 658 | Generic Max MethodComplete the generic method Max<T> so it returns the larger of two values of ANY comparable type. | medium | Not started | Solve |
| 659 | Implement Two InterfacesA class can implement more than one interface. | medium | Not started | Solve |
| 660 | Abstract Template MethodThe abstract class Shape has a concrete Report() method that combines two abstract members: Kind() and Area(). | medium | Not started | Solve |
| 661 | Implement IComparableMake Person implement IComparable<Person> by ordering people by Age ascending. | medium | Not started | Solve |
| 676 | Loop Over a Base-Type ArrayThe abstract class Animal declares abstract string Sound(). | medium | Not started | Solve |
| 677 | Hide a Method with newThe new keyword HIDES an inherited method instead of overriding it. | medium | Not started | Solve |
| 678 | Safe Downcast with Pattern MatchingSometimes you must check an object's real type before using a method only the derived class has. | medium | Not started | Solve |
| 679 | Sum Areas Through an InterfaceThe IShape interface declares int Area(). | medium | Not started | Solve |
| 680 | Template Method Calls a VirtualA non-virtual base method can call a virtual method, and overriding that virtual changes the base method's behavior. | medium | Not started | Solve |
| 681 | Chained Overrides Across Three LevelsOverrides can build on each other level by level using base. | medium | Not started | Solve |
| 682 | Program to an InterfaceA method that accepts an interface type works with any class that implements it. | medium | Not started | Solve |
| 683 | Polymorphic Factory From InputA factory method can return different subclasses through the same base type, chosen at runtime. | medium | Not started | Solve |
| 784 | Default Interface MethodGive the IGreeter interface a default method Greet() that returns the text Hi, <Name>!, built from the interface's own Name property. | medium | Not started | Solve |
| 662 | Build a Shape HierarchyBuild a polymorphic shape hierarchy from scratch. | hard | Not started | Solve |
| 663 | Discount StrategiesBuild an interface-based strategy from scratch. | hard | Not started | Solve |
| 664 | Money With Operator PlusBuild a Money class that supports the + operator. | hard | Not started | Solve |
| 665 | Polymorphic PayrollBuild a payroll hierarchy from scratch. | hard | Not started | Solve |
| 684 | Explicit Interface ImplementationWhen two interfaces declare a method with the SAME name, a class can implement each one explicitly so they do not collide. | hard | Not started | Solve |
| 685 | Generic Method (Parametric Polymorphism)Generics let one method work with ANY type. | hard | Not started | Solve |
| 686 | Generic Container ClassA generic class is a single class definition that adapts to whatever type you plug in. | hard | Not started | Solve |
| 785 | Covariant Return Type OverrideAnimal declares a virtual Clone() that returns an Animal, and a virtual Species property. | hard | Not started | Solve |