Which of the following statements will compile correctly? code example
Example: Which of the following statements will compile correctly?
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{}