📦 归档笔记 — 原创建于 WizNote,仅作归档展示;观点以当年为准,非最新。

第一阶段 - 第一周 - 第二节 - 题目作答记录

创建时间2021-09-28最后修改2021-09-28原位置/程序员成长之旅/Java学习/慕课网Java工程师/字数212
目录:程序员成长之旅/Java学习/慕课网Java工程师

[TOC]

第一阶段 - 第一周 - 第二节 - 题目作答记录

| 序号 | 题型   | 题号   | 第一次作答答案 | 对一次作答核查结果 |

| ---- | ------ | ------ | -------------- | ------------------ |

| 1    | 选择题 | 1 - 3  | A, B, F        |                    |

| 2    | 选择题 | 1 - 4  | C              |                    |

| 3    | 选择题 | 2 - 3  | A, B, D        |                    |

| 4    | 选择题 | 2 - 4  | B              |                    |

| 5    | 选择题 | 3 - 2  | A, C           |                    |

| 6    | 选择题 | 3 - 12 | D              |                    |

| 7    | 选择题 | 3 - 13 | C              |                    |

| 8    | 选择题 | 3 - 14 | B              |                    |

| 9    | 编程题 | 3 - 15 | 已做答         | 正确(免检)         |

| 10   | 选择题 | 3 - 18 | A, D           |                    |

| 11   | 编程题 | 3 - 19 | 正在作答       | 正确               |

编程题作答

3 - 15(免检)


public class CharTest {

public staticvoidmain(String[] args) {

char c = 'S';

System.out.println("c=" = c);

char c1 = 78;

System.out.println("c1=" + c1)

}

}

3 - 19


public class StringDemo {

public static void main(String[] args) {

boolean flag = true;

System.out.println("flag=" + flag);

String str = "hello world";

System.out.println("str=" + str);

String str1 = "";

str1 = str;

System.out.println("str1=" + str1);

}

}

flag=true

str=hello world

str1=hello world