-
Struts ActionServlet
why do we have only one ActionServlet in Struts?(Asked in Polaris Interview for Java Experienced people , on April 11, Chennai)
-
Difference Between Aggregation and Composition
What is the difference between Aggregation and Composition?(Asked in Polaris Interview for Java Experienced People, on April 11, in Chennai)
-
Difference Between Web Container and Web Server
What is the Difference Between Web Container and Web Server?(Asked in Polaris Interview , held on April 11, Chennai)
-
Exception Handling
What is the output of the following program, When tested under JDK 5.0class ExceptionDemo{ public static void main(String[] args) { int a[] = new int[] {1,2,3,4,5}; try{ System.out.prinltln(a[6]); } catch(Exception e) { System.out.println("Catching Exception ..."); } catch(ArrayIndexOutofBoundsException ae) { System.out.println("Catching ArrayIndexOutOfBounds...
-
What is the Output of the following Java Program
public interface I1{Static String x="inside I1";public void someMethod();}class A implements I1{ public static void main(String args[[]){ System.out.println("Calling I1 var ..."+I1.x);}}
-
SCROLLABLE_SENSITIVE resultset
Explain with examples for SCROLLABLE_SENSITIVE resultset?
-
Output of Java Program
What is the output of the following program?class A{ public static void main(String[] s) { System.out.println(s[1] + s[2] + s[3]);}}java A 12345Options(i) 1(ii) 12(iii)1234(iv)234(v) Compilation Error
-
Functionality of the cancel() method
What is the functionality of the cancel() method, provided in java.sql.Statement?
-
Call stored procedure in Java using CallableStatements
How can we call a stored procedure in Java using CallableStatements? Give an example.
-
remove() method collection
Which Underlying Collection will provide the remove() method?