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 8066what are the new features of Webservices 1.6 than 1.4.From the interface and implementation aspect4.
2183"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 7718Give 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 25121Possible ways for debugging java ,javascript,jsp and servlet. Can we use System.out.println debugging java.
2 5644what is the use of clone method? why user cant overwrite in sub class without its proper defination.
TCS,
2 6292
What are different ways for servlet authentication?
What are the methods of bean life cycle?
What is difference between hashset and hashmap?
what is servlet chaining?
What are some of the best practices for spring framework?
Is jpa and hibernate same?
How many bits is a word?
Why string is a class?
What are controls and their different types in awt?
we use MainFrame and using os390 for operating system with DB2 data base in IRAN and interest programing with java and use webspere for world wide,please help me where i should start?
What is java string pool?
What is an empty string in css?
How does Cookies work in Servlets?
Can you override a final method?
What are inbuilt functions?