Computer Science, asked by kadamsidharth8, 5 months ago


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 GhotraKaur
0

Answer:

c.)there will be a compiler time error

Similar questions