본문 바로가기

Deve.haeri

검색하기
Deve.haeri
프로필사진 hhaeri

  • 분류 전체보기 (126)
    • Java (31)
    • DB (9)
    • HTML-CSS (23)
    • JSP (1)
    • Spring (0)
    • Quiz (41)
      • 01.input (8)
      • 02.random (6)
      • 03.control (12)
      • oop (1)
      • 04.Array (11)
    • 프로젝트 (2)
    • etc (1)
    • Go (2)
    • Container (8)
    • Git (3)
    • linux (3)
    • node (1)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2025/09   »
일 월 화 수 목 금 토
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30
Tags
  • regexp
  • GitHub
  • NGINX
  • ubuntu
  • html
  • db
  • docker-compose
  • kubespray
  • Container
  • docker install
  • node
  • GORM
  • time_zone
  • npm
  • kube
  • bash
  • go
  • linux
  • Git
  • docker
  • ansible
  • nodemon
  • kubernetes #container
  • kubernetes
  • golang
  • Delete
  • vscoe
  • k8s
  • mariadb
  • 쿠버네티스
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록Quiz/oop (1)

Deve.haeri

빵 구매하기

1. 소스 코드 package ex01_oop; // 고객에게 빵,잔돈 두개의 값을 전달하기 위해 만든 클래스 class BreadAndChange{ //field int bread; int change; //constructor BreadAndChange(int bread, int change){ this.bread = bread; this.change = change; } } class Bakery { //field int breadCount; int breadPrice; int bakeryMoney; //constructor Bakery(int breadCount,int breadPrice, int bakeryMoney){ this.breadCount = breadCount; this.breadPr..

Quiz/oop 2020. 9. 28. 11:48
Prev 1 Next

Blog is powered by kakao / Designed by Tistory

티스토리툴바