Study Java with Progate Note 1

I would like to start studying Java at Progate, which is famous for being different from JavaScript as melon bread and melon, and ham and hamster. Let's go Jaba Jaba: swimmer_tone2 :: swimmer_tone2 :: swimmer_tone2:

Basic edition

System.out.println();

Is like console.log in JS. You can output the result to the console. It's long, it's long. .. I complained that even console.log was long. There are also two "." ...! (Anyway, it's complemented? It's only while I'm doing Progate that I hit it for a long time.)

What's more, println is a shocking fact that ** l is a lowercase "eru" **. : scream: The reading is called print line. ..

The structure of Java is divided into three parts: class part, method part, and processing in the method. It seems that it's still okay, but I'm sure there will be a great hint recovery later. : spy_tone2:

variable

Variable definition

//Variable definition
Data type variable name;
//Assigning a value to a variable
Variable name=value;
//Can be united. It seems to be variable initialization
Data type variable name=value;

Declare the type of data such as int or String in the variable. And it seems that assigning a value at the same time as defining a variable is called "variable initialization".

Variable update


Variable name you want to update=New value;

Do not type the data when updating. If the data type is attached, it seems that a new variable is defined, Java "I already have a variable with this name. Why do you say that again?": Sob: It seems that you will be in trouble and throw an error, so let's not bother Java.

Self-substitution


int X = 2;
X = X+3;

A shape that you often see. The first knowledge that seems to be called self-substitution.

Recommended Posts

Study Java with Progate Note 1
My Study Note (Java)
[Java] Points to note with Arrays.asList ()
Let's study Java
[Java] Study notes
Java study memorandum
Study Java Silver 1
Install java with Homebrew
Java abstract modifier [Note]
[Java] Internal Iterator Note
Change seats with java
Install Java with Ansible
[Note] Methods ending with?
Java Silver Study Day 1
[Java ~ Method ~] Study memo (5)
Comfortable download with JAVA
Java JUnit brief note
[java] Java SE 8 Silver Note
Switch java with direnv
Java study # 1 (typical type)
[Note] Java: String survey
[Java ~ Array ~] Study memo 4
Download Java with Ansible
Let's scrape with Java! !!
Build Java with Wercker
java: Add date [Note]
Endian conversion with JAVA
[Note] Create a java environment from scratch with docker
Easy BDD with (Java) Spectrum?
Study Java # 2 (\ mark and operator)
Use Lambda Layers with Java
Java multi-project creation with Gradle
A note about Java GC
Getting Started with Java Collection
Java Config with Spring MVC
Basic Authentication with Java 11 HttpClient
Let's experiment with Java inlining
Run batch with docker-compose with Java batch
[Template] MySQL connection with Java
Rewrite Java try-catch with Optional
Install Java 7 with Homebrew (cask)
[Java] JSON communication with jackson
Study java arrays, lists, maps
Java to play with Function
Progate Java (Beginner) Review & Summary
(Note) Java classes / variables / methods
Enable Java EE with NetBeans 9
[Java] JavaConfig with Static InnerClass
Java Silver Study Method Memo
Let's operate Excel with Java! !!
Version control Java with SDKMAN
[Java ~ Boolean value ~] Study memo (2)
RSA encryption / decryption with java 8
Paging PDF with Java + PDFBox.jar
[Note] Scene transition with JavaFX
Java study # 7 (branch syntax type)
[Java] Content acquisition with HttpCliient
Java version control with jenv
Troubleshooting with Java Flight Recorder
Connect to DB with Java
Connect to MySQL 8 with Java