Creating static and non static classes1760 - Java Quiz Question


What will be the output of the following program?


A
Welcome to the JAVA world
Hello MeritCampus
B
Welcome to the JAVA world
C
Welcome to the JAVA world
Welcome to the JAVA world
Hello MeritCampus
D
Compilation Error or Runtime Error