13. Constructors and methods
1. What is a constructor?
2. Rules to define a constructor.
3. Default constructor.
4. Constructor chaining.
5. Constructor and method comparison.
6. A method signature, rules, best practice.
7. Overloading and overriding methods comparison, rules, best practice.
8. Exception handling in overloading and overriding.
14. Final keyword
1. Final class usage in java. Best practice.
2. Final vs Abstract class.
3. Final method rules, best practice.
4. Abstract method vs final method.
5. Final variable.
6. Does final variable requires initialization?
7. Blank final field.
8. Final parameters: when to use, best practice.
9. Final local variables rules, best practice.
Do'stlaringiz bilan baham: |