CodeGym /Courses /Java Syntax Zero /Additional lessons for Level

Additional lessons for Level

Java Syntax Zero
Level 1 , Lesson 8
Available

Level passed! Congratulations! You have taken your first step in learning Java.

You learned what a program is, how to display data on the screen, what variables are, what data types are, what a compiler is, and what bytecode is. You also got acquainted with the concept of comments.

You can run on to the next level, or you can take 10 minutes to consolidate and deepen your new knowledge. A couple of additional lessons will help you with this.

Coding Rules: the Power of Correct Names, Good and Bad Comments

This article dives into the topic of the correct naming of certain elements. Correct names make the code easier to read, so you better learn all the rules from the very beginning.

Is Java good for learning as a first language? Let's explore possibilities and talk about pitfalls

What programming language should you use when you start learning how to code? It's a classic question that has been an eternal dilemma for future coders. Since you're studying at CodeGym, you probably made your choice, but let us explain once more why Java is the best option.


1
Опрос
Commands and your first program,  1 уровень,  8 лекция
недоступен
Commands and your first program
Commands and your first program
1
Task
New Java Syntax, level 1, lesson 8
Locked
Bugs and features
Write a program that displays: It's not a bug - it's a feature.
Comments (35)
TO VIEW ALL COMMENTS OR TO MAKE A COMMENT,
GO TO FULL VERSION
TripZ Ondex Level 2, Canada
22 February 2024
im just better
Anonymous #11408221 Level 2, Sweden
12 October 2023
you can declare a variable without a value? int a; so you only need type and name to declare it?
Anonymous #11409394 Level 2, Taraz, Kazakhstan
13 October 2023
it is meaningless if you create a variable without value. Then, why have you created the variable?
Karif Reza Level 2, Mexico
26 October 2023
yes you can create a variable without value, like this " int a; ". But that variable has a default value that is 0 so, in a few words always you need a value
nikkehtine Level 2
12 November 2023
I guess it's considered having an empty value as opposed to not having a value?
29 November 2023

int a; 
this is just a shortened code, as it was already mentioned it will have a default value (an integer will have the value 0, and a String will be null) but I know what you mean... the quiz wasn't too good... I got a question about Java compiler... what to do with the information it does bytecode not machine code, isn't it useless to know
Anonymous #11391094 Level 2, Canada
4 September 2023
10/10
Singh, Ashmeet Level 3, Norco, USA
23 August 2023
this was very hard
Martin, Carlos Level 3, Turkeysville, USA
22 August 2023
I LOVE codegym!! Please send this website to your friends and family so THEY can learn CodeGYM!!! :D
Rafael Gomes Level 11, Brazil
21 August 2023
10/10
Himanshu Gautam Level 2, salem, India
2 August 2023
9/10 it's okie 😅
Anonymous #11361352 Level 2, United States of America, United States
24 July 2023
10/10
zam Level 2, Philippines
23 May 2023
9/10
Ali Waqas Level 2, Islamabad, Pakistan
13 May 2023
8/10