Blog

Starting with Java

As we are starting with Java, the first thing we will have to do is download the official version of the JDK (Java Development Kit). For this, we are going to go to the Oracle website, which is the owner of Java, and we download the JDK.

Oracle recommends NetBeans as IDE (Integrated development environment) for programming with Java. So in this course, we will use said IDE that you can download together with Java from this URL.

However, for the first lessons of the course, we will not perform any installation, we will use an online Java compile, with which we can practice from our browser.

Compiling and running Java Online.

There are several Java compilers online. Just type in Google: “java online compiler” and we will list several actions.

Continue reading Starting with Java

Exercises of introduction to programming

In this post, I propose two exercises of introduction to programming, the first topic of my Java notes. It is about thinking, proposing a solution to the proposed problem, and then translating it into a flow diagram and pseudocode.

There are several possible solutions to solve the same problem, some more efficient than others. But of course, before we start programming, we have to propose the solution to the problem that we want to solve by programming.

Here you can see a possible solution for each proposed exercise, which of course is not the only one possible and which is probably not the most efficient.

Continue reading Exercises of introduction to programming

Introduction to programming

Before I start programming in Java, I explain to my students an introduction to programming. I tell you what programming consists of, what an algorithm is, a flow chart and a pseudo-code. But above all, I insist that programming is about solving problems.

Preliminary concepts

Several concepts should be internalized before starting to program. At least we should be clear about the following:

Continue reading Introduction to programming