javacodesnippets
Read

javacodesnippets

by VIshnu_Manohar

1. class MyDemo { static int iCount=0; MyDemo() { iCount++; } public static void disp() { System. out. println(iCount); } public static void main(String args[]) { MyDemo obj1 = new MyDemo(); MyDemo obj2 = new MyDemo(); obj1. disp(); } } what is o/p? 2.... More

Read the publication