How should I learn Java

Java programming learning

Basically, it is not difficult to learn the Java programming language. All you need is a certain understanding of math and you should be able to think abstractly. If these two requirements are met, you will probably learn Java programming without too much difficulty in not too long.

Table of Contents

Why should you learn the Java programming language?

Together with the programming language C, Java is one of the most internationally known programming languages. The first version came out in 1995. So if you know Java, you are in good company. After all, the programming language is one of the most widely used in the world. You can find out why this is and why you should deal with this language in the following section:

JAVA is beginner-friendly

If you are a beginner in programming, Java is suitable for you due to its beginner-friendliness.

JAVA is extremely common

Because the programming language is not only famous but also very widespread, millions of Java-based applications have emerged in recent years. If you learn to program Java, you will master a language that is in massive demand and that has established itself in a wide variety of areas.

JAVA is a general purpose programming language

Programming languages ​​such as Java are known as general purpose programming languages. It is therefore not used for any special purpose, but can be used for a wide variety of projects. These include, for example, GUI programs or applications for the web.

JAVA is an object-oriented programming language

Java is also one of the object-oriented programming languages. Object-oriented programming is similar to human thinking. For the programmer, this style of programming works relatively intuitively.

JAVA is platform independent

Another crucial factor for the success of this popular programming language is its platform independence. In an intermediate step, the Java source code is compiled into a byte code. This generates the advantage for Java programmers that they can use the Java code to write programs for Linux, Windows, MacOS or various apps.

Many existing frameworks

With Java you don't have to reinvent the wheel every day. In the past few years, countless Java frameworks have been developed and these have become well established all over the world. A framework is a basic program library for specific problems. A well-known example is Hibernate, which is used for database queries.

The JavaFX Framework, on the other hand, is suitable if you want to implement graphical user interfaces with the help of Java. If you have the programming of web applications on your list, the Spring framework makes your work much easier. You can see that the global spread of the Java language brings a lot of advantages with it. One of them is that there are countless frameworks available to you. You can easily build on these when programming.

Extensive class library

Another plus point speaks in favor of learning the Java programming language: the extensive class library. It now has an outstanding degree of complexity. For you this means that there are countless classes available to you. With these you can easily implement repetitive use cases.

Multithreading

When a program executes several actions in parallel, these are known as threads. One thread performs a calculation while another thread enables the user to interact at the same time. This significantly reduces waiting times. Since Java has easy-to-use synchronization properties, such environments are easier to program with the popular programming language.

Safe and robust

Java programs are in bytecode and have no pointers. This allows them to be verified before running. This verification is used by the web browser to check whether viruses are present. In Java, addresses do not consist of numbers. Instead, names are used for the methods and functions. This has the advantage that a check can be carried out easily. Java applets can therefore not access or execute anything that has not been defined in advance in the verification process. Because memory accesses are checked without exception, there are no annoying computer crashes.

Good jobs and high salaries in prospect

Since Java is one of the world's leading programming languages, you have very good job opportunities with knowledge of this language. Many Java programmers start their careers in companies in the automotive industry, in the consulting sector or in the It industry. In the financial industry you can earn good money as a senior developer and Java programmers are also in demand in the media industry and in retail today. If you have a university or college degree in computer science or business informatics, you can expect a whopping starting salary of 40,000 to 50,000 euros per year (source).

The actual amount of your earnings as a Java programmer ultimately depends on your experience and your position. Naturally, senior developers earn more than junior developers on average. Your salary also depends on the location and size of the company. The bigger the company, the better your chances of advancement and opportunities for personal development. When climbing the career ladder to a management position, you can also gain a lot of experience in a large company. In any case, the following applies: As a Java programmer, you can expect an above-average attractive salary.

The areas of application

The best-known areas of application of Java are the countless Android apps. Because almost everyone today has to be available around the clock, almost everyone has at least one cell phone or smartphone. You are probably aware of this - but do you also know where the huge number of games and applications for these devices come from? The Java applications make up a large part of it. After all, almost every mobile device now supports the slimmed-down version of Java. As a result, cross-smartphone applications are also easily possible.

Java also plays a central role in web applications. The language is mainly used for programming on the server side. The most prominent example of this is the social media platform Twitter. With Java technologies, server-side requirements such as querying the database and providing data, the so-called web service, can be implemented relatively easily. In particular, Java Server Pages, Servlets, Java Server Faces and the Hibernate or Spring frameworks are used.

But Java has also become indispensable on the client side. Particularly noteworthy for this: The combination of JavaScript and HTML. Frameworks such as AngularJS support you in the implementation. So if you plan to specialize in web applications later, it is also beneficial to deal with HTML technologies and JavaScript.

When it comes to designing user interfaces, the popular Java programming language is also right at the forefront. Netbeans IDE is one of the best-known representatives here. The advantage of Java over C and C ++ is given here especially for beginners. Once you have used the basic concepts of Java, you can easily use the existing libraries (e.g. JavaFX). And that in turn leads to quick and motivating experiences of success when programming with Java.

The JAVA technology as the basis

Java technology is characterized by three dominant elements:

Element one is the programming language Java itself. It is used to create the programs and has the advantage of an easily understandable code.

Element two is the so-called JDK - the Java Development Kit. This tool receives compilers, for example, which transfer your program code into a machine-compatible code, namely into the Java bytecode.

Element three is the Java runtime environment. There you can run your programs programmed in advance with Java. The bytecode is not executed by the computer hardware, but by software. For this reason, it works on any computer architecture with an installed Java runtime environment. The Java runtime environments for Linus, OS X, Solaris or Windows are available from Oracle. But because every producer can have their own runtime environments developed, Java is also often used in hi-fi systems and cars.

Where can I learn Java?

There are countless places to go online if you want to learn Java. The choice can be a bit overwhelming, however. So I have the best (German-speaking) courses and content collected in the following section.

Personally, I think a lot of the online courses and, for example, taught myself JavaScript with two such courses at udemy.com.

Learn Java in online courses

The main advantage of professional, paid online courses is that higher quality. The information is structured and well thought out. The learning content is always and everywhere available and can be repeated or paused as often as you like so that everyone can learn at their own pace. In some cases there is also additional learning material. With some providers there is also a certificate of completion.

udemy.com - Java made easy - The comprehensive Java beginners course A-Z

Christian Gesty's Java beginner course is the bestseller among the German-language Java beginner courses at udemy. The course includes 34 hours of video teaching material, 43 articles and 98 additional materials to download. In total, the course comprises more than 328 lessons from installation to JavaFX, everything you need to find a holistic introduction and to write your first own applications in Java.

More than 5,700 positive reviews (average 4.5 of 5) and more than 22,500 participants speak for themselves and for the quality of the course.

Tip: Udemy regularly offers discounts for new customers so that you can save a lot.

edley.de - Java course - learn to program in 30 days

The edley.de Java course is also aimed at beginners. In Oliver May's course, the absolute basics up to getting started with JavaFX teaches what you need to know to write your own programs. Graduates should be able to complete the course within 30 days and - for a surcharge - complete the course with a certificate of completion.

So far, 16 participants have rated the course mostly very positive comments from the graduates are promising.

Learn Java at a distance university

Some distance universities also offer courses to certified Java programmer via distance learning to become. As a rule, the costs for distance learning are of course somewhat higher, but the quality of the courses should also be high. Another benefit is that too certificate, which is awarded by the distance universities and recognized by employers becomes.

Java books

Java programming: for beginners: the easy way to become a Java expert

This book for novice Java users is the Best seller in Java books on Amazon.de. The author Michael Bonacina has written several textbooks on the subject of programming, including the bestseller on learning to program Python.

The book leads through the introduction and the basics of programming in Java and the topic JavaFX is dealt with in more detail. Exercises, sample programs and illustrated instructions should make learning easier with the book.

253 buyers rate the book with an average of 4.4 out of 5 points.

Java is also an island: the standard work for programmers

This book is slightly newer (June 25, 2020 edition) than Michael Bonacina's bestseller. The author Christian Ullenboom has already written several books on the subject of Java, all of which have received very good reviews on Amazon.de. The book is not written specifically for beginners with an appropriate introduction, but it is useful as a supplement for beginners and advanced users.

Learn Java with Youtube Videos

On Youtube I found a very extensive “crash course” on learning to program Java on the Youtube channel of “Programming Straten”. In a total of 24 short videos, many basics of programming in Java are taught. This series is therefore well suited for an introduction or a first glimpse into the topic.

FAQ: Frequently asked questions about JAVA

What can I do with Java?

Primarily, the programming language is used to program applications for desktops and the web, as well as apps. A famous example are the apps for the Google Android operating system.

How do I program with Java?

To be able to program with Java, you need the following tools: a text editor to create the source code, the Java Development Kit so that the source code can be transferred into a bytecode and the Java SE Runtime Environment, which enables the bytecode to be executed.

Is It Hard to Learn Java?

If you already have experience in programming, you usually need around 4 to 6 weeks to basically learn Java. If you want to have a complete command of the language, you will have to add several more months. If you want to become an absolute top professional, it may even take years, because of course you can get deeper and deeper into the extensive subject.

If, on the other hand, you are a beginner in programming, you have to reckon with 3 to 6 months of training to feel confident in Java.