Here are the unsolved questions from what you learned up until day four:
- What are access modifiers and their accessibility?
- Write a program to use
protected internal
. - What are abstract classes? Elaborate with the help of a program.
- Does an abstract class have a constructor? If yes, the why can't we instantiate abstract class? (Refer to https://stackoverflow.com/questions/2700256/why-cant-an-object-of-abstract-class-be-created)
- Explain, with the help of a small program, how we can stop an abstract class from being inherited.
- Differentiate the
sync
andasync
methods. - Differentiate the
const
andreadOnly
modifiers with the help of a small program. - Write a program to calculate string numbers in addition to the following rules to our
StringCalcuatorUpdated
example:
- Throw an exception where the number is greater than 1,000.
- Ignore negative numbers by replacing them with zero.
- If the entered string is not a number, throw an exception.
- Write a small program to elaborate on property types.
- Create...