import java.util.Arrays; import java.util.List; public class StringArray { public static void main(String[] args) { 6:String[] names= {"Tom","Dick","Harray"}; 7:List list = names.asList() 8:list.set(0, "Sue"); 9:System.out.println(names[0]); } } What is the result of the following? A) Compiler error on line 8 B) Compiler error on line 7 C) Sue D) An exception is thrown. E) Tom 배열을 ArrayList로 변환할..
public class BirdSeed { private int numberBags; boolean call; public BirdSeed() { // LINE 1 call=false; // LINE 2 } public BirdSeed(int numberBags) { this.numberBags=numberBags; System.out.println("파리미터 생성자 호출됨"); } public static void main(String[] args) { BirdSeed seed = new BirdSeed(); System.out.println(seed.numberBags); } } Which code can be inserted to have the code print 2? A) Replace line..
- Total
- Today
- Yesterday
- EC
- php
- Python
- 프로씨
- 자바
- 스크래핑
- xe애드온
- KG
- MySQL
- JDBC
- C언어
- C
- 플러터
- esql
- 포인터
- XE
- 인포믹스
- proc
- 자바 smtp
- 파이썬
- 파싱
- xe addon
- 이클립스
- 오라클
- 문자열
- ocjap
- ocajp
- webix
- XE3
- 라이믹스
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
