Core Java (6529)
Advanced Java (552)
Swing (223)
EJB (402)
Java Networking (49)
Hibernate (1009)
Spring Framework (1486)
Java J2EE AllOther (116) Accenture NJ mostly ask question on Collection like 1)How to sort Objcts and how treeset sort them 2)Explain mechanism of Hashcode finding in Java 3)Name some of the Sorted collection.
2 8065what are the new features of Webservices 1.6 than 1.4.From the interface and implementation aspect4.
2182"we cannot create an object of interface but we can create a variable of it".diacuss the statement with the help of an example.
2 7714Give me some example for getting connection from connection pooling in JBoss Server. Is Connection Pool default in Server or we have to create it? Who can create Connection Pool in a Team. How it will be accessed by the developer code?
TCS,
1 4872java.lang.ClassNotFoundException:oracle.jdbc.driver.OracleDr iver? I get this error at run time.I used oracle10G. I set CLASS PATH:C:\oraclexe\app\oracle\product\10.2.0 \server\jdbc\lib\ojdbc14.jar; I write JDBC PROGRAM like import java.sql.*; class Example { public static void main(String args[]) { try { Class.forName ("oracle.jdbc.driver.OracleDriver"); System.out.println("Driver Loaded"); Connection con=DriverManager.getConnection ("jdbc:oracle:thin:@localhost:1521:xe","system","salmas"); System.out.println("Driver Connected"); Statement st=con.createStatement(); ResultSet rs=st.executeQuery("select * from emp"); while(rs.next()) { System.out.println(rs.getInt(1)); System.out.println(rs.getString(2)); System.out.println(rs.getString(3)); } st.close(); con.close(); } catch(Exception e) { System.out.println(e); } finally { System.out.println("it's finally block executed"); } } }
CTS,
6 25117Possible ways for debugging java ,javascript,jsp and servlet. Can we use System.out.println debugging java.
2 5642what is the use of clone method? why user cant overwrite in sub class without its proper defination.
TCS,
2 6290
What do you mean by dependency injection?
How can you retrieve data from the resultset using jdbc?
Why is spring boot used? : Spring Boot
Which package is imported by default in java?
How to perform merge sort in java?
What is the purpose of action tag in struts.xml?
What are derived properties?
Which are the ioc containers in spring?
What is the use of jsonvalidation?
Define the list of pre-configured queues?
Explain the importance of throwable class and its methods?
Name the class that is used to bind the server object with RMI Registry?
Why is sessionfactory thread safe?
What is meant by tab pans?
How can we write our own interceptor and map it for action?