Start learning now
You've leveled up!
The third motivational lesson prepared by CodeGym's super training specialist is about which plan is right and which is not, how competition affects success, and which professionals enjoy 80% of income. And you'll also learn about the widespread failures that await graduates.
The simplest program
By the beginning of the third level, CodeGym students have already managed to write more than one program. They may not understand all of their elements, but everything is gradually falling into place. Now is the perfect time to discover some details regarding the main() method and...to install IntelliJ IDEA!
Connecting IntelliJ IDEA
An integrated development environment (IDE) saves programmers' time and makes their work much more convenient. A cool IDE is like a comfy chair: you won't even want to leave work. In this lesson, you'll learn how to connect the CodeGym plug-in to IntelliJ IDEA and complete tasks directly in this environment.
Screen output once again
There was a time when computers only displayed text. Programs displayed data on the screen, and read data in from the keyboard. This form of interaction is called "working with the console". An alternative to the console is a window interface (where the user interacts with the program through windows). Since we're just learning to program, we'll start with the console.
Practice displaying stuff
After this lesson, students at the secret CodeGym center will be 6 tasks smarter. We'll display our birth date on the screen, calculate various sums and products, and arrange parentheses properly. We'll also create Zerg, Protoss and Terran objects with unique names. If something isn't clear, we'll google it or reread the lessons.
The bewildering word "concatenation" refers to the essential process of gluing (or combining) strings. Basically, it's like adding numbers, only in this case we're adding strings. 2+2 is 4 if we're dealing with numbers, but if we glue together "2" and "2", then we get "22".
In life, do you often misunderstand what others want from you? Alas, this can happen with any work, even programming: a developer's job is sometimes assigned by someone who isn't too familiar with the features of the work of the person writing the code. Some of the task conditions may seem incomprehensible, or maybe everything is clear from the outset?
In Java, an action as familiar as typing letters through the keyboard is not entirely trivial. Actually, everything is simple, but beginners sometimes have difficulty with console input. That's why we postponed this topic until the third level. But now your programs will feature interactive elements.
Enter a number
So it's now time to write programs that not only display something, but also allow the user to enter some data directly while the program is running. For example, you might ask the user to enter his name...or credit card information. But we'll begin by completing data entry tasks.
IntelliJ and creating your own project
Employers quite frequently list the ability to work in a specific IDE among the requirements for job candidates. There is nothing complicated about it, but someone who is already familiar with the tool will spend less time acclimating. So don't waste any time. Learn to use the popular IntelliJ IDEA IDE right now.
Useful Links from the Professor – 3
Who's in charge here? The one who writes the code (preferably correctly). Java programs have a special main method. It's the point where execution of the program begins. You've already seen it: it's the main() method. The wise professor has again chosen some useful links to articles about this method, console output, and IntelliJ IDEA.
How do hard drives work?
Can you believe that modern hard drives hold 300,000,000 times more information than IBM’s first device from 1957? Nowadays they can easily hold more information than any library, and their capacity is still increasing. But how do they store such huge amounts of data? In this TED-Ed video, Kanawat Senanan explains how these powerful tools were created.