Java Static Keyword



The static keyword in java lets you use global variables without creating the object. Hopefully, what I’ve taught you will help you with you know when to use the java static keyword 🙂

Learn java in just 13 minutes: https://youtu.be/RRubcjpTkks

Java for Absolute Beginners: http://bit.ly/2YQ0Hz8
Java Programming for Complete Beginners – Learn in 250 Steps: http://bit.ly/2Z33qpf
Java Programming Masterclass for Software Developers: http://bit.ly/2IWfp0Z

Learn Java in One Day:…

Related Posts

25 Comments

  1. well "static" makes sense, because it does mean standing still: its in a fixed position in memory and its impossible for it to be instanced like with non static fields

  2. I have seen using private instead of static as global variables, please explain! It will be nice if you can make a video of keywords such as private, public, void, and override. It will help us to remember these key words all the time. Thank you so much

Leave a Reply

Your email address will not be published.

© 2022 Code As Pro - Theme by WPEnjoy · Powered by WordPress