Skip to content

Java Assignment3 upload by ParkSeongWook #24

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

gosuuk
Copy link

@gosuuk gosuuk commented Apr 17, 2023

제가 맞는지 모르겠습니다. 이것저것 찾아서 했는데 정답을 모르겠네요....

package me.day05.practice.Practice01;

public enum Auth {
FingerPrint, Pattern, PIN, Face;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

enum은 열거형 '상수' 이기 때문에 대문자로 작성하는게 자바에서 권장하는 컨벤션입니다. 띄어쓰기 같은 경우는 언더바(_)로 구분지으면 되구요. FINGER_PRINT 같이요

}
return null;
}
public User Copy(User user) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

자바에서 함수의 첫글자는 소문자로 하는게 권장됩니다.(카멜케이스로)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants