이노 메모장

이노 메모장

  • 분류 전체보기
    • Java
    • C
    • Python
    • HTML
    • Project
    • Algorithm
    • DataBase
    • OS
    • Block Chain
    • CHATGPT
    • ML
  • 홈
  • 태그
  • 방명록
RSS 피드
로그인
로그아웃 글쓰기 관리

이노 메모장

컨텐츠 검색

태그

니꼴라스 자바GUI java 빅오표기법 wㅜ c 링크드리스트 정렬알고리즘 알고리즘 시간복잡도 Big-O 자료구조 8퀸문제 버블정렬 Do it! 클론코딩 AWT python ) 자바 재귀함수

최근글

댓글

공지사항

아카이브

Java(8)

  • Java - 객체(2)

    클래스 public class People { int age; String name; int x, y; int speed; public People(String name, int age, int spped, int x, int y){ //이름 나이 속도와 좌표를 입력받는 생성자 this.name = name; this.age = age; this.speed = spped; this.x = x; this.y = y; } public People(String name, int age, int speed){ //이름 나이 속도만 입력해서 생성할경우 기본 좌표 0,0 this(name, age, speed, 0, 0); } public String getLocation(){ //현재 위치 출력하는 메소드 ret..

    2022.04.25
  • Java - 객체(1)

    1.고객정보를 출력하는 예제 import java.util.*; public class Main { public static class Order{ int orderNum; String customerID; String orderDate; String customerName; public void OrderInfo(){ System.out.println("주문번호 : "+ orderNum); System.out.println("주문날짜 : "+ orderDate); System.out.println("고객아이디 : "+ customerID); System.out.println("고객명 : "+ customerName); } } public static void main(String[] args) { Or..

    2022.04.21
이전
1 2
다음
티스토리
© 2018 TISTORY. All rights reserved.

티스토리툴바