Okay. So you want to code, and you want to do it with Java?
I am almost as new to Java as you are so lets see what we can get into. Java is an object oriented programming language. What on Earth does that mean. Well, I found out just a few short hours ago so he's the short version. It is exactly what it sounds like. Objects, like tree or car or dog or cat. The language is based around the concept of giving objects attributes that can be altered and applied to groups of similar objects. This would be the "class" of objects. So for example mammals would be the class and humans, canines, and cats would be objects themselves. Well, all of these are not static figures so they all have some type of action or behavior that is associated with them. These behaviors would be called the "methods" in the Java environment, like talking or barking or scratching. The last big picture item with Java is your inheritance. No, not a large sum of money or a new house, but the traits that you inherited from your family. Let me move a few words around and see if it still makes sense. The methods you inherited from your class of objects. Basically, an object can inherit attributes from a class of objects within the code. There is obviously scores upon scores of data on this online, but hopefully this will get you started thinking inline with Java and OOP. I've included some links here and here to get you moving.
Now, you'll need to go here and download the Java platform (FYI its called the JDK, Java Development Kit, but no one told me that). It will download, and then install, and then disappear. Don't be alarmed, it did install. After this, not so pleasant experience you'll need a text editor. you are welcome to use the notepad on your device, but I recommend the Visual Studio and the Java Extension. I know this may sound crazy, but download the VS from this link, and install it. Here's the magic, once you start a new file and save it as a .java file extension the program will ask you to install the Java extension. So, you don't have to go find it, it will come to you. Last, once you have your code all typed up pretty and saved, you'll need to run it in either a shell or the command line. I'll leave this part up to you.
For now, go download some stuff and get reading we've got a long way to go and a short time to get there!


No comments:
Post a Comment