Welcome to our website!
1stwebdesigners is a miniature site focused on building nice web-based applications. It is currently run by two human in his spare time, the Bilal Ahmed and Janitor Jesse.
If you are interested in learning programming, you can watch Video Tutorials to learn. You can also download Open Source files to help you on your way.
Here we talk about the java functions and what Static means. Then we learn how to create a regular function inside another class. It might appear confusing at first, but if you type as I type you will start to understand!
The first thing is to install the Java SDK (Software Development Kit). Then we plug Java into the command console on Windows (We may use this time to time). I show you NetBeans if you choose to use that, I like it. If you install this on Linux it will automatically be available in the Terminal.
In Java, Arrays are like pockets of data (and every other language). Imagine having a coat, and that coat had 25 pockets, the coat would be an array, and the pockets are the slots that can hold different values. This makes collecting and managing data a lot easier than having hundreds of separate variables.
Here we will explore some Java built in methods. These are easy to use and you attach them with the period, eg: instance.method(); We'll do a little bit of String manipulation and replacing for practice.
In this Java tutorial I'll explain how to assign variables. It's different than other languages like Python, PHP and JavaScript, because you have to declare what type of variable it is.
Java is scary to start with, yes very scary. It's has no mercy to begin with. Everything in Java is an Object, and Java is a compiled language. So we write a simple program, compile it, then run it. It feels like a lot of text to simply write 'Hello World'. If you come from another OOP language, this will be somewhat easy to pickup - but I'm going to assume you are not and I'll go slow.