A
A
Alex2015-12-16 15:03:17
Java
Alex, 2015-12-16 15:03:17

Java learning algorithm?

Hello!
I would like to get some advice from qualified experts about learning the Java language.
A month ago, I made the decision to learn the Java language from scratch. Started watching some YouTube videos, bought Barry Bird's book "Java 8 for Dummies". I began to get involved, to comprehend the basics of the simplest definitions of what follows what and what is built on. Two weeks ago, I signed up for an online Java course, kind of like for beginners. Two classes have passed, and I already have a complete mess in my head. When they explain separately what cycles, arrays, constructors are, everything seems to be clear. But when in homework they ask to create a program that they didn’t even understand how to write and where to start, I have problems.
I don't really understand how it will work. Well, there is a console on which all sorts of calculations and other information are displayed, but it’s impossible to compare this with real life. For example, there is Xcode, which, in addition to the code, also has a graphical shell. That is, I am doing some very simple project and I can already imagine how it works, the whole logical chain. And with Java, I'm completely confused. Methods, functions, classes. In theory, everything is clear, but how it is applicable in practice - I can not imagine.
I ask you to tell me, if possible, how to make learning more productive? Books can be read indefinitely. And rewrite examples from videos too.
Thanks

Answer the question

In order to leave comments, you need to log in

6 answer(s)
N
Noortvel, 2015-12-16
@Sudalius

Do not listen to those who say that Java is difficult for the first jap. The syntax is very readable and there are no problems and traps about memory. And on the topic, in any area, experience is gained by trial and error, the main thing is just to start (stability is a sign of mastery). It’s worth starting with “copy-paste”, you look - you repeat. Then, having felt how it is there by typing (everything is comprehended by this) and go nuts with your stupidity (when I realized this, the world “turned upside down” in my eyes) you start trying yourself. From the very beginning , of course, it will be a nightmare, but you just need to write, watch, read every day. Alas, there is no ideal and quick way to level up, everything and everything is achieved by work and sweat.

A
Artem Vereschaka, 2015-12-16
@And3en

In general, the algorithm is as follows:

package ru.toster.JavaLearning;

import ru.toster.Action;

public class Main{

public static void main(String[] args){
    while(true){
        Action.studyHard();
        Thread.sleep(5 * 60 * 60 * 1000);
    }
}
}

R
Robot, 2015-12-16
@iam_not_a_robot

Java is a difficult language for the first language, you immediately need to learn 2 things at the same time and loops / arrays and roll it all into objects at once, i.e. Java interprets any sneeze as an object. I would recommend starting with something simpler, php, python.

A
Andrey Shishkin, 2015-12-16
@compiler

Judging by your question, you do not understand Java, but how do calculations on a computer take place :)
Ask a specific question (s), what exactly is not clear?
Give an example of incomprehensible code and we will procrastinate it)

T
Taras, 2015-12-16
@TyLeRRR

to see the fashion went to Java, everyone starts to learn programming and everyone starts with Java. start with something simpler, JS, python, php. well, if not an option, try the javarush service, it helped me at one time, maybe it will help you. good luck!

N
Neonoviiwolf, 2015-12-16
@Neonoviiwolf

I started by learning AS3, in fact, it is very, very similar to java (the code almost immediately reads as native when switching), but it allows you to code hard, on the one hand, this is certainly bad, but it allows you to transfer the mess from your head to something that works, and as the task becomes more difficult "2 + 2", you have to write everything through OOP, otherwise you will understand the code for 1 hour to write 2 lines.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question