+ 1

Can anyone dumb down code for me?

Hello! My name is Claire and I'm just starting out my coding journey. Is it normal not to understand the descriptions of the different stuff? Even when things are fully explained I'm still confused.

2nd Jun 2018, 6:31 PM
Claire McDowell
Claire McDowell - avatar
8 Respuestas
+ 2
Perfectly normal. Is there anything specific you need explained as simply as possible?
2nd Jun 2018, 9:36 PM
Rrestoring faith
Rrestoring faith - avatar
+ 5
Yeah, it's perfectly normal. There's a lot to take in. Just be patient, do a little each day and it will start to make sense. Be hands on as much as possible and practice the concepts you have learnt. Good luck.
2nd Jun 2018, 6:37 PM
Bagshot
Bagshot - avatar
+ 3
the number 1 thing you need to understand is you wont learn it all overnight or a day. 1. Patience 2. Read some books follow along 3. Have a goal 4. Communities 5. Small programs Have fun
2nd Jun 2018, 8:26 PM
Anthony Perez
+ 2
Claire McDowell All you need to know so far: public static void main(String[] a) { Everything inside of the curly brackets, is where you will place code. (Inside here). } The main method is this: public static void main(String[] args) The program will begin by running the first line of code inside of this method. Example: public static void main(String[] args){ // Run first // Run second // Run third } The main method is the first method to run in your program. * A method must also be created inside of a class. Which is why you see: class MyClass { mainMethodStuff(....){ } } We can use System.out.println() to print text to the console. (Output stuff). Words (Strings) must be placed inside quotes. Ex/ class a{ public static void main(String[] a){ System.out.println("Sup"); } } Output: Sup Do not worry about what each word means until it is atleast taught individually in the course. You will not understand the meaning behind them right away if it is your first time programming.
2nd Jun 2018, 11:14 PM
Rrestoring faith
Rrestoring faith - avatar
+ 1
As a beginner, I found it be be useful to memorize this one line: public static void main(String[] args) You will need to use it for every program and your IDE might not autoinsert it for you. Also, as you learn, you will uncover more and more meaning of it. Also, don't just read the course, try to put everything you read into code you can run and get output. If you can, get a real Java IDE like IntelliJ IDEA of computer, or, if you don't have one, use code playground here (but I don't recommend it). If you have any more questions, ask here.
2nd Jun 2018, 8:36 PM
BlazingMagpie
BlazingMagpie - avatar
+ 1
Hey, Its perfectly normal...Sololearn gives a bit detailed explanation. I would highly recommend a book "Headfirst java:second edition" you can download the pdf if want to. It is meant for beginners and has helped me a lot, although it is java 5.0, it WILL make you UNDERSTAND every aspect of java.
2nd Jun 2018, 10:24 PM
Yuvraj Singh
Yuvraj Singh - avatar
0
Rrestoring faith Just this: class MyClass { public static void main(String[ ] args) { System.out.println("I am learning Java"); } }
2nd Jun 2018, 10:48 PM
Claire McDowell
Claire McDowell - avatar
0
Rrestoring faith ok, thank you for explaining. I hope I fully understand soon! :)
3rd Jun 2018, 2:03 AM
Claire McDowell
Claire McDowell - avatar