You can name args with any other string name, it's just a standard naming used for it. String args refers to the arguments that are being passed to the main method.main refers to the name of the Java main method.void is also a keyword that refers to a method not returning anything.static is a keyword that simply defines that this method is static and can't be changed.public refers to this method being accessible to anyone from anywhere, which means it is globally available.Let's see how you can simply print a hello world program in Java.Įnter fullscreen mode Exit fullscreen mode A different text editor or an IDE will also work, just try not to get too fancy, as you want to focus on the essentials now. I recommended you choose Notepad as a complete beginner since it's the most basic one. Download and set up the Java SE Development kit.There are two simple set-up steps you need to follow: How to get started with writing code in Java Java refers to this concept as Write Once, Run Anywhere. The Virtual Machine helps you create compiled programs that have the flexibility to run anywhere, on any platform. ![]() OOP is a programming paradigm based on the concept of objects containing the code and data. ![]() ![]() Java is an OOP (Object-orientated programming language), class-based, and multi-platform programming language having a VM (Virtual Machine) platform. Well, all your confusion will be clear after this brief yet full of knowledge blog. You might have heard about programming languages Java and JavaScript that sound similar in name and might have got confused about whether they're different names for the same language or are they different. ![]() The software programming world has progressed rapidly over time and has a lot of programming languages to offer.
0 Comments
Leave a Reply. |