Skip to content

Commit

Permalink
기본이 중요하다
Browse files Browse the repository at this point in the history
  • Loading branch information
K-Diger committed Dec 31, 2023
1 parent 9ad73ce commit 677d9f8
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion _posts/2023-10-18-Network.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---

title: Fundamental Network
title: Fundamental of Network
date: 2023-10-18
categories: [Network]
tags: [Network]
Expand Down
2 changes: 1 addition & 1 deletion _posts/2023-10-18-OperatingSystem.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---

title: Fundamental OperatingSystem
title: Fundamental of OperatingSystem
date: 2023-10-18
categories: [OperatingSystem]
tags: [OperatingSystem]
Expand Down
26 changes: 13 additions & 13 deletions _posts/2023-10-19-Language.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---

title: Fundamental Java
title: Fundamental of Java
date: 2023-10-19
categories: [Java]
tags: [Java]
Expand All @@ -18,25 +18,25 @@ mermaid: true
Equals 메서드는 두 객체의 ****이 같은지 비교하는 메서드이다.

```java
private void equals1(){
String string1="TEST";
String string2="TEST";
String newString1=new String("TEST");
String newString2=new String("Other TEST");
private void equals1() {
String string1 = "TEST";
String string2 = "TEST";
String newString1 = new String("TEST");
String newString2 = new String("Other TEST");

System.out.println("string1.equals(string2) = "+string1.equals(string2));
System.out.println("string1 == string2 = "+string1==string2);
System.out.println("string1.equals(string2) = " + string1.equals(string2));
System.out.println("string1 == string2 = " + string1 == string2);

System.out.println("-------------------");

System.out.println("string1.equals(newString1) = "+string1.equals(newString1));
System.out.println("string1 == newString1 = "+string1==newString1);
System.out.println("string1.equals(newString1) = " + string1.equals(newString1));
System.out.println("string1 == newString1 = " + string1 == newString1);

System.out.println("-------------------");

System.out.println("newString1.equals(newString2) = "+newString1.equals(newString2));
System.out.println("newString1 == newString2 = "+newString1==newString2);
}
System.out.println("newString1.equals(newString2) = " + newString1.equals(newString2));
System.out.println("newString1 == newString2 = " + newString1 == newString2);
}
```

- string1.equals(string2)은 "TEST" 문자열을 비교한다.
Expand Down
2 changes: 1 addition & 1 deletion _posts/2024-1-1-Spring.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---

title: Fundermental Spring
title: Fundermental of Spring
date: 2024-01-01
categories: [Spring]
tags: [Spring]
Expand Down

0 comments on commit 677d9f8

Please sign in to comment.