ix)
public class Test1
Testi() {
Testi objl = new Test1();
}
public static void main(String (largs) {
Testi obj = new Test1();
System.out.println("Hello");
)
Which of the following statements is/are true?
a. Hello
b. Program will compile successfully
.
c. There will be a compile-time error.
d. The program will give a runtime error.
Answers
Answered by
0
Answer:
c.)there will be a compiler time error
Similar questions