nullpointerexample.cs
来自「集学生管理系统、学生选课系统、老师管理系统与一身 不错的」· CS 代码 · 共 11 行
CS
11 行
using System;
public class NullPointerExample {
public static void Main(String[] args) {
Section s = new Section(1);
// We forgot to set the instructor attribute, so when we call
// the Display() method, we're in trouble!
s.Display();
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?