Output of following Java program
(C) compiler error
Explanation: it’s a simple program where constructor is called with parameters and values are initialized.
Quiz of this Question
Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.