What is a return-type declaration? August 16, 2022 Object-Oriented Development focussed 0 Comments Return type declarations allow to specify what type of value is returned from a function. (Bonus points if strict typing is mentioned) Related posts: What is a namespace, and how would you use it? What is dependency Injection? What are some of the design patterns you have experience with? What are the advantages of dependency injection?