물음표 살인마의 개발블로그

전체 글 852

객체 지향 입문

패키지는 소문자로 시작(camelCase), 클래스는 대문자로 시작, 멤버 변수도 소문자로 시작(camelCase) 1. 반환값 O 매개변수 O 2. 반환값 X 매개변수 O 3. 반환값 O 매개변수 X 반환하는 값의 타입은 int. ※ Return 이 없으면 앞에 void 를 쓰면된다. - 함수는 단독 모듈로서 그냥 호출하면된다. - 메서드는 클라스안에 있는 모듈이고 그 클래스의 멤버변수를 이용해서 작동. To Be Cont

객체 지향 2022.09.20

220920 Github 에러

로컬 저장소에 있는 프로젝트를 깃허브 사이트를 통해 만든 저장소로 push 하는 경우에 이런 메세지가 뜨는 경우가 있다. 1 2 3 4 5 6 7 8 C:\Users\gitProject>git push origin master To https://github.com/userId/userProject.git ! [rejected] master -> master (non-fast-forward) error: failed to push some refs to 'https://github.com/userId/userProject.git' hint: Updates were rejected because the tip of your current branch is behind hint: its remote coun..