(B) garbage value
(C) compiler error
(D) runtime error
Explanation: Unlike class members, local variables of methods must be assigned a value to before they are accessed, or it is a compile error.
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.