Skip to content

CHOCOCHANEL/GodOfJava2nd

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CHOCO-CHANEL'S JAVA STUDY LOGS

Reference
# Fork: GodOfJava 2nd Edition
# 자바의신 코드 저장소
Logs
  • 01 Programming

Class & Method

  • A class is the minimum unit of java consisting of state and behavior.
  • A method receives the parameter and returns the calculation result.
  • 02 Hello God Of Java

Building a development Environment

  • Compilation of Java File
  • Printing on the console
  • Comment
public class Sample {
    public static void main(String[] args){
        System.out.println("Printing on the console.");
    }
}
  • 03 Object Oriented Programming

Concept of Object

  • An object is an instance of a class.
  • A class consists of variables and methods.
public class Calculator {
    public static void main(String[] args) {
        System.out.println("Constructor");
        Calculator myCalculator = new Calculator();
    }
}
  • 04 Data Type

Variables of Java

  • Java has 4 types of variables and each of them has different range of scope and usability.
# === 4 Types of Variables ===
1. Local variables
2. Parameters
3. Instance Variables
4. Class Variables

Data Types

  • Primitive Data Type vs Reference Data Type
# === 4 Types of Variables ===
1. Local variables
2. Parameters
3. Instance Variables
4. Class Variables

About

Study Diary For Learning Java Language

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%