spring.project.log
-
.equals와 ==spring.project.log 2022. 4. 16. 23:59
출처 글을 보고 번역하여 정리한 글입니다. 네이버님들 파파고 개발해주셔서 감사합니다 https://www.geeksforgeeks.org/difference-between-and-equals-method-in-java/ Difference Between == and .equals() Method in Java - GeeksforGeeks A Computer Science portal for geeks. It contains well written, well thought and well explained computer science and programming articles, quizzes and practice/competitive programming/company interview Questio..
-
문자열 계산기 javascript.verspring.project.log 2022. 4. 10. 16:01
문자열 계산기를 자바로 짜는 과제를 레샨님께서주셨는데 흑흑 웬걸 너무 힘들었다... js적 사고를 하는 나에게 넘어려운것... 그래서 일단 javascript로 만들어보고 옮겨야겠다는 생각을 했다~ 리팩토링 전 풀이 그냥 쿠쿠루삥뽕 구현함 const input = "2 + 3 * 4 / 2"; const output = 10; const operatorDict = { "+" : (a,b)=>a+b, "-" : (a,b)=>a-b, "*" : (a,b)=>a*b, "/" : (a,b)=>a/b } const splitArr = input.split(" ") //자르기 const initialValue = parseInt(splitArr.shift()) // console.log(splitArr) //chu..
-
[JAVA] 접근제어자, getter/setterspring.project.log 2022. 3. 26. 11:33
ref 자바에서 loose coupling과 tight coupling의 차이 https://www.upgrad.com/blog/loose-coupling-vs-tight-coupling-in-java/ Loose Coupling vs Tight Coupling in Java: Difference Between Loose Coupling & Tight Coupling | upGrad blog When two classes, modules, or components have low dependencies on each other, it is called loose coupling in Java. www.upgrad.com 의존성 주입 https://tecoble.techcourse.co.kr/post/20..
-
오버라이딩(overriding)과 오버로딩(overloading)spring.project.log 2022. 3. 18. 13:54
이전에 노션에 정리했던 내용을 끌고 오자면, 다음과 같다. 오버라이딩은 다른 무엇보다 더 중요한, 최우선시 되는 이라는 뜻이다. 슈퍼클래스를 상속받은 서브클래스에서 슈퍼클래스의 (추상)메소드를 같은 이름, 같은 반환 값, 같은 인자로 메소드 내의 로직들을 새롭게 정의하는 것. 이를 이용하면 하나의 슈퍼클래스를 상속받는 서브클래스들이 같은 이름에 다른 기능을 하는 메소드를 정의하고 사용하게끔 할 수 있다. 같은 이름이지만 구현하는 클래스마다 다른 역할을 하는 메소드를 정의하는 것이다. 오버로딩 : 매개변수의 형태(타입)는 다르지만 이름이 같은 메서드를 매개변수의 형태와 개수만 다르게 나열할 수도 있다. 프로그래밍 언어에서 동일한 표현으로 여러 가지 의미를 가질 수 있는 것 메서드의 이름은 같고 매개변수의 ..
-
이넘(enum)spring.project.log 2022. 3. 17. 15:38
ref https://www.w3schools.com/java/java_enums.asp Java Enums W3Schools offers free online tutorials, references and exercises in all the major languages of the web. Covering popular subjects like HTML, CSS, JavaScript, Python, SQL, Java, and many, many more. www.w3schools.com 이넘은 크게 두 가지 뜻을 가지고 있다. 1. 열거형 2. 상수들을 묶어놓은 것을 나타내는 클래스 An enum is a special "class" that represents a group of constants ..
-
인터페이스(interface)spring.project.log 2022. 3. 17. 15:28
인터페이스에 대해 이해해보려고 쓴 글입니다. reference https://www.w3schools.com/java/java_interface.asp Java Interface W3Schools offers free online tutorials, references and exercises in all the major languages of the web. Covering popular subjects like HTML, CSS, JavaScript, Python, SQL, Java, and many, many more. www.w3schools.com An interface is a completely "abstract class" that is used to group related method..
-
추상클래스(abstract class)spring.project.log 2022. 3. 17. 12:18
추상클래스에 대해 이해해보려고 쓴 글입니다 ref https://wikidocs.net/219 05-09 추상클래스 추상클래스(Abstract Class)는 인터페이스의 역할도 하면서 클래스의 기능도 가지고 있는 자바의 돌연변이 같은 클래스이다. 혹자는 추상클래스는 인터페이스로 대체하는것 ... wikidocs.net https://limkydev.tistory.com/188 [JAVA] 자바 추상클래스란? [JAVA] 자바 추상클래스란? 추상클래스 이 글 하나로 박살내자. 추상클래스의 문법적인 특징이나, 객체생성이 되고 안되고 이런 특징들이 중요한게 아닙니다. 도대체 추상클래스가 무엇이고 왜 limkydev.tistory.com 이전에 추상클래스에 대해 공부해서 남겨둔 글(notion에서) 가져옴 추상..
-
spring 첫회의spring.project.log 2022. 3. 4. 22:27
회의록 spring 어플리케이션 프로퍼티 JAVA 13 Maven XML파일로 되어있어서 오류 잡기 힘듬 vs Gradle(선호) 모듈 부모에 loombok starter 등등.. - admin(인증 인가 빡세게) / app-api (유저가볼수있는곳) 게시판 crud - rest api로 구현 db 2개 연동 - 테스트 db 돌려서 부하 많이 되는지 확인하고(h2- RDBMS, 가벼움...sql과도 그렇게 다르지 않고 사용방법이 그나마 쉬움) - 실제 db 돌릴 계획(mysql 8) yml 실제로 건드려볼지 오늘 한 거 멀티 모듈 분리 (레샨님 추가!) 멀티 모듈 -> 마이크로서비스 아키텍쳐 멀티 모듈은 그냥 도구 ㅇㅇ... -> 여기까지 들어가면 머리아파지니까 일단 세팅하는 것까지만... 깃 remot..