java learning day 2

Progate java course IV and IV dojo. Study time is about 3 hours. I understand that when creating an instance, I use a constructor to enter arguments. private can be used only for that class, and public can be used for other classes. In the case of private, if you want to output the value assigned at the time of instance creation, use the getter method to output. The value can be changed with the setter method. Using private and restricting its use is called encapsulation.

Recommended Posts

Java learning day 5
java learning day 2
java learning day 1
Java learning (0)
Java Day 2018
4th day of java learning
Programming learning day 3
Java Day Tokyo 2017
Rails learning day 3
Oracle Java Day 2017
Rails learning day 4
Rails learning day 2
rails learning day 1
java learning (conditional expression)
Java Silver Study Day 1
Java learning memo (method)
Java Kuche Day memo
Rails learning day 2 part 2
JAVA learning history interface
Rails learning day 1 part 3
Rails learning day 3 part 2
Rails learning Day 1 Part 2
Java learning memo (inheritance)
Muscle Java Basics Day 1
Learning Java framework # 1 (Mac version)
Java basic learning content 7 (exception)
JAVA learning history interface inheritance
Java basic learning content 5 (modifier)
Books used for learning Java
Java learning memo (logical operator)
Java learning memo (abstract class)
Java Basic Learning Content 8 (Java API)
Java is the 5th day
Java Learning 1 (learning various data types)
Java basic learning content 4 (repetition)
Muscle Java Object Oriented Day 2 ~ Inheritance ~
Java learning memo (creating an array)
Deep Learning Java from scratch 6.4 Regularization
Java basic learning content 9 (lambda expression)
Java learning memo (while statement, do-while statement)
Java basic learning content 2 (array / ArrayList)
[Android Studio] [Java] Learning memos & links
I tried to summarize Java learning (1)
What I researched about Java learning
Study Deep Learning from scratch in Java.
Ruby learning 4
Studying Java ―― 3
Java protected
[Java] Annotation
[Java] Module
Java array
Studying Java ―― 9
Java scratch scratch
Java tips, tips
(Learning memo) Java Level 2 measures: Question range
Java methods
Java method
java (constructor)
Ruby learning 5