Академический Документы
Профессиональный Документы
Культура Документы
try
{
int a = 11/0;
}
catch(Exception Ex)
{
system.out.println(Ex)
}
catch(ArithmeticException AE)
{
system.out.println(AE)
}
In above example exception will go in which block upper catch block or lower
catch block or it will give the error.
142 Find the second highest element in the array
143 Swap the contents of the two arraysSynechron
144 Can we able to change the value of static variable?
145 Difference between readLine () and read().
146 What is a constructor and when will you use this and super in a constructor?
147 If you want to call a constructor from parent class, what will you do?
148 Can I define one class into another class?