What will the following program print?
public class Main{ static String str; public static void main (String [] args){ System.out.println(str); } }
Select 1 option
Correct Option is : C
All member fields, static and non-static, are initialized to their default values.
Objects are initialized to null, numeric types to 0 (or 0.0 ) and boolean to false.