When you create your variables, do you declare them to be the concrete type...or its interface? When you craft a method, what return type do you use? The concrete type of the instance you created, or its interface?
Does it even make a difference?
====
Don't forget to pre-order your copy of Learning Spring Boot 3.0 3rd Edition today at https://springbootlearning.com/book!
====
ALSO SEE: 👀
✅ What is MVC? • HOW does it help me build better SPRING BO...
RESOURCES: 👇
Order your copy of Learning Spring Boot 3.0 3rd Edition today at https://springbootlearning.com/book!
GET MORE: 🎉
Get a FREE tech ebook at https://springbootlearning.com/join
Follow me on Twitter: / springbootlearn
GRAB A MUG FOR YOUR COFFEE ☕ (and a t-shirt): https://store.springbootlearning.com/
Click "subscribe" under the video (and hit that bell icon) to get notified when new videos come out.
STUFF I LIKE TO USE: 😍
Motorized standing desk: https://springbootlearning.com/desk
Laptop stand: https://springbootlearning.com/twelve...
AirPods Pro: https://springbootlearning.com/airpod...
Affordable thumbnail testing: https://springbootlearning.com/thumbn...
Music: https://springbootlearning.com/epidem...
Recut (pre-editing): https://springbootlearning.com/recut
Other studio gear: https://springbootlearning.com/kit
DISCLOSURE: All opinions stated here are mine and do not necessarily reflect those of the Spring team nor of my employer. Any usage of "Spring", "Spring Boot", "Spring Framework", "VMware", "Pivotal", or anything else is completely unaffiliated with its owners. From time to time, I may post affiliate links for products I enjoy using. They don't cost you anything extra, and I may get a small commission.
#springbootlearning #shorts
© 2023 Greg L. Turnquist, All Rights Reserved