티스토리 뷰

학습정리-12-23.txt
0.00MB

 

1. 게시판을 스프링으로 구현을 완성하시오.
list -> write -> delete -> update -> reply -> update -> uphit

 

 

 

 

 

 


2. 아래의 SQL 을 분석하시오.
 SELECT * FROM (
              SELECT ROWNUM AS RNUM, A.* FROM (
                       SELECT
                             *
                         FROM
                             mvc_board 
                         order by bGroup desc, bStep asc   
             ) A WHERE ROWNUM <= #{pageNum} * #{amount}
         ) WHERE RNUM > (#{pageNum}-1) * #{amount}

 

 

 

 


3.js 아래를 완성하시오.
단 - es6 문법 class로 완성할것
let circle = new Circle(100);
console.log(circle.getArea()); //넓이 출력 

let rec = new Rectangle(100, 100);
console.log(rec.getArea()); //넓이 출력 

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
        class Circle{
            constructor(radius){
                this.radius = radius;
 
                const pi = 3.14// 상수로 선언
                this.getArea = function(){
                    return (radius * radius * pi);
                };
            }
        }
 
        class Rectangle{
            constructor(width, height){
                this.width = width;
                this.height = height;
 
                this.getArea = function(){
                    return (width * height);
                };
            }
        }        
 
 
        let circle = new Circle(100);
        console.log(circle.getArea()); //넓이 출력 
        // 31400
 
        let rec = new Rectangle(100100);
        console.log(rec.getArea()); //넓이 출력
        // 10000
cs

개별진척도는

-개별진척도 73번  ...게시판 list 구현 - 다시 한번 더 
-개별진척도(JS) 위의 3번

3.아래를 완성하시오.(자바 스크립트)

단 - es6 문법 class로 완성할것

let circle = new Circle(100);
console.log(circle.getArea()); //넓이 출력 



let rec = new Rectangle(100, 100);
console.log(rec.getArea()); //넓이 출력 

공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2024/05   »
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 31
글 보관함