-
-
-
-
-
//this.disp();
}
void t3()
{
System.out.println("Enter to t3 void");
}
}
On what situation void type constructors are used?">Class t3{ int i; static public void main( String a[]) { int j=8; t3 t= new t3(); new t3().disp(j); } //constructor overloading t3() { System.out.println("Enter to t3"); //this.disp(); } void t3() { System.out.println("Enter to t3 void"); }}On what situation void type constructors are used?
-
-
-
-
-
-
-
-
-
-
-
-
What is the Difference between Design Pattern and Architecture? Can any one answer for this plz..
Design Pattern means how u r approaching the problem.Architecture means how the data is flowing in your application
-
-
What is the difference between Enumeration and Iterator?. When i can use Enumeration and when i can use iterator?. Can any one tell me the situation that only Enumeration could able to solve that problem and vice versa.
In Enumeration we cant modify the elements. where as in iterator we can modify the elements
-
Core Java Interview Questions
Ans