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


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 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.


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
Java study memo 2 with Progate
My Study Note (Java)
[Java] Points to note with Arrays.asList ()
Let's study Java
[Java] Study notes
Java 8 study (repeatable)
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
Java Silver Study Day 1
Comfortable download with JAVA
Java JUnit brief note
[java] Java SE 8 Silver Note
Switch java with direnv
[Note] Java: String search
Java study # 1 (typical type)
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
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
Try DB connection with Java
Progate Java (Beginner) Review & Summary
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
RSA encryption / decryption with java 8
Paging PDF with Java + PDFBox.jar
Sort strings functionally with java
Object-oriented (java) with Strike Gundam
[Note] Scene transition with JavaFX
Java study # 7 (branch syntax type)
[Java] Content acquisition with HttpCliient
Troubleshooting with Java Flight Recorder
Streamline Java testing with Spock
Connect to DB with Java
Connect to MySQL 8 with Java
Error when playing with java