- datagrip
- OpenAPI
- node js
- ์์คํ ์ํํธ์จ์ด
- Rp2๊ธฐ
- Spring
- @CreatedDate
- GIT
- spring์ผ๋ก https ์ ์ฉ
- ๋ฆฌ๋ ์ค ๋ช ๋ น์ด
- Quick Sort
- Data Structure
- mysql
- MethodArgumentNotValidException
- spring ๊ตฌ๊ธ ์์ ๋ก๊ทธ์ธ
- merge sort
- Unity
- docker
- aligoapi
- Java
- DATABASE
- ๊ตฌ๊ธ ์์ ๋ก๊ทธ์ธ
- ํจ์คํธ์บ ํผ์คX์ผ๋์
- RP 2๊ธฐ
- MAKE US
- SQL
- java error
- spring ์์ ๋ก๊ทธ์ธ
- C++
- SSL
๋ชฉ๋กjava error (2)
YS's develop story
์๋ ํ์ธ์ ์ค๋์ java๋ฌธ์ ๋ฅผ ํ๋ค๊ฐ ํ ์ค์๋ฅผ ์ ๋ฆฌํ๋ ค๊ณ ํฉ๋๋ค ~ ๋ฐ๋ก ์ฝ๋๋ฅผ ํ์ธํด ๋ณผ๊น์? package javapractice; public class JavaPractice { public static void main(String[] args) { Shape[] arr= { new Circle("Circle",5), new Rectangle("Rectangle",3,4), new Triangle("Triangle",5,5) }; double sum=0; for(Shape a: arr) { System.out.println(a.getName()+"๋ฉด์ : "+a.getArea()); sum+=a.getArea(); } System.out.println("๋ฉด์ ์ ํฉ : "+ sum); } } ..
์๋ ํ์ธ์ ~ ์ค๋์ java ์์๊ณผ ๊ด๋ จํด์ ์๋ฌ๋ฅผ ์ ๋ฆฌํ๋ ๊ธ์ ์์ฑํ์ต๋๋ค :) ์๋์ ๊ฐ์ด ์ฝ๋๋ฅผ ์์ฑํ๊ฒ ๋๋ฉด ์๋ฌ๊ฐ ๋ฐ์ํ๊ฒ ๋ฉ๋๋ค. package javapractice; class JavaPractice { public static void main(String[] args) { subClass sub1= new subClass(52); System.out.println(sub1.i); } } class superClass{ int i; superClass(int i){ System.out.println("this is super class"); this.i=i; } } class subClass extends superClass{ subClass(int i){ System.out.prin..