📜  以下哪个语句将正确编译? - 打字稿代码示例

📅  最后修改于: 2022-03-11 14:48:22.809000             🧑  作者: Mango

代码示例1
Which of the following statements will compile correctly?
IIA Comment import java.lang. *; class Base{}; package Spot;
import java.awt.*; package Spot; class Base();
class Base{} import java.awt.*; public class Tiny{}
I/A comment package myprogs. MyPack; import java.awt.*; public class MyPack{}