-
-
-
-
Why should we extend Exception instead of Throwable?
We usually extend Exception instead of Throwable. Why? In what situations we extend Throwable.Could anybody give the answer in detail. Thanks in advance.
-
Illegal State of Exception
When does thread throws illegal state of exception?Explain with two scenarios?
-
-
Command prompt argument
How to pass commandline arguments in main function through Eclipse Tools (editors).
-
-
-
-
-
-
-
JSP Paging
Hi.. I have developed one web-page which shows ALL employee records fetched from a employee table and display them in my JSP page.It has contain more than 1000's of records. I need to display first 10 Records in my page. There should be some 4 links below the records display which get me to see next 10 records or previous 10 records or first 10 records or Last 10 records. IS it possible in JSP?? Can...
-
-
-
-
Difference between throw and throws
What exactly is the difference between between throw and throws? If both are used for the same purpose then why are both needed instead of one?
-
//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?
-
Core Java Interview Questions
Ans