JAVA

· JAVA
우테코 프리코스 1주차 문제를 풀었는데 코드가 너무 더럽다,,, clean code가 어떤 느낌인지 알아보고자 우테코에서 제공해준 Google Java Style Guide에서 유용하게 쓰일 것 같은 부분만 정리해봤다⭐️ Google Java Style Guide 1 Introduction This document serves as the complete definition of Google's coding standards for source code in the Java™ Programming Language. A Java source file is described as being in Google Style if and only if it adheres to the rules herein. Li..
· JAVA
JPA 강의를 보던 중 int보다 Integer, Integer보다 Long를 사용하는 것을 권장한다는 이야기를 듣고 int와 Integer의 차이에 대해 찾아보았다. 그런데 면접에서 int와 Integer 차이에 대해 물어봤다는 글이 많아서 티스토리에 정리...⭐️ # int int는 java의 기본 타입(primitive type)이다. = int는 변수의 타입(data type)이다. 변수의 타입(data type) 자바에서 다룰 수 있는 데이터 종류로써 data의 type에 따라 값이 저장될 공간의 크기와 저장 형식을 정의한 것 # Integer Integer는 Wrapper 클래스이다. Wrapper 클래스 기본 타입을 객체로 다루기 위해 만들어진 클래스들을 의미한다. 어떤 클래스들은 객체만을 ..
하얀 돌덩이
'JAVA' 카테고리의 글 목록