I wrote this series about the basics of programming in Java quite a while ago and I got asked to write another one about the basic concepts in Java, Python and C.Continue reading Programming Basics – Addendum 2
Our last series was a big success and we decided to take it a step further with an Advanced Programming series, which will start in Dec. 2016. But for today I want to give you a quick tip for faster coding in IntelliJ IDEA! Continue reading Programming Basics – Addendum: IntelliJ QuickTip
Welcome to the last part of the programming basics series! In this series we’ll cover what exceptions are and how you deal with them.
If you’ve made all the examples, that are featured throughout the series, you might have encountered something like this:
This particular runtime error is caused by a wrong user input. It’s not caused by faulty code. Errors like this usually crash your application and a user has to restart it, in order to continue using it. In this part we’ll cover how to deal with such errors. Continue reading Programming Basics 7 – Exceptions and exception handling
In this part we’ll discuss the most important concept in an object oriented language: Objects. So far you’ve already learned how to write a single class and you’ve put all your functionality into a single class. But we’ve used objects in our examples already and in this part you’ll learn what objects are and how you can use them!
This part will teach you, how to compare values and control the flow of your program. It will also teach you, how to repeat a part of your program for a defined number of times, which is very useful for tasks like processing user input or printing out data.
This is a very long article. I didn’t plan to make it this long, but I ended up writing a lot about this topic. I recommend you to split it into half after the ‘Large choices’ section and take a break. However, let’s get started!
So far you’ve learnt what methods and variables are and how to use them. In the case of variables you have also seen, how to get a user’s input and store it. If you want to store multiple inputs of the same type, for example numbers for a calculator, you’ll have to create different variables for each input, right?
In this part you’ll learn, how to store multiple values into one variable (sort of). Continue reading Programming Basics 4 – Arrays
In the last part of the series you learned how to use variables to store data in a program. This part will discuss methods, which give you the possibility to define behavior for a class. Continue reading Programming Basics 3 – Methods