Sept 17
5 min read
Yes these three words sum up what I have been focused on for the last couple of weeks. I have been working on Java training content for Strategio Technologists. DevOps Engineers have broad, cross functional skills. The truth of the matter is that in order to add even greater value to our teams, this is another skill that we should acquire.
It amazes me how Java is STILL one of the top programming languages to learn. I remember learning Java on the job as one of my first software engineering roles at Big Blue. Java is STILL around because for decades it has proven itself to be robust and secure, write once, run anywhere (WORA) and is used in several enterprise applications. Trust me it is worth taking the time to learn! Oracle just released Java 17 Long Term Support (LTS) on September 14, 2021. As I was working, I took some time to attend Oracle Developer Live Java Innovations to hear all about it.
OK to truly learn Java or any programming language, you have to take the leap and jump in with both feet….or in this case hands lol.
Here are few tips to get you started:
Let me start you off by going through the process with the rite of passage program to all programming languages: Hello World lol!
Scenario: Create a Java application that will display Hello World to the user.
Outline:
This outline process can also be captured in your IDE as a skeleton.
1) Create a Class with a public static void main method.
2) Hello World is a String.
3) Can I use an existing class to display this String? This is when searching the documentation and of course Google it comes in handy. It is a good practice to get familiar with the existing classes that are provided so you don’t waste your time reinventing the wheel. Also design reviews will help ensure that you have sound code.
Below is the working code for the Hello World Application and the result.
Example for multi-line comments:
/* Is used for the beginning instead of just forward slash
Add an*. Once the comments are done end with */
OK see how easy that was! I hope this ignited a spark in you to learn more.
Remember SHARING KNOWLEDGE is POWER and KEEP Learning! BTW in America it is football season and I am a part of the Baltimore Ravens Flock aka Nation lol so my mini me will be sporting her Ravens gear for the rest of the season!!!! Carry on! lol