devarathnam c,kotagudiban


{ City } bangalore
< Country > india
* Profession * software engineer
User No # 6124
Total Questions Posted # 0
Total Answers Posted # 61

Total Answers Posted for My Questions # 0
Total Views for My Questions # 0

Users Marked my Answers as Correct # 1330
Users Marked my Answers as Wrong # 421
Answers / { devarathnam c,kotagudiban }

Question { 3587 }

To make an object to begin executing as a separate thread,
what method is used?


Answer

Hi...
public void run();method in Runnable interface,which only
one method in Runnable interface.

Is This Answer Correct ?    0 Yes 0 No

Question { 5801 }

What is the name of the state, when a thread is executing?


Answer

Hi... when a Thread is executing that comes under
the "Running state"

Is This Answer Correct ?    3 Yes 0 No


Question { 4576 }

When you will synchronize your code?


Answer

Hi... If your code requires "Thread-safty" ,and to avoiding
deadlocks,when u want maintain dataintegrity.

Is This Answer Correct ?    0 Yes 0 No

Question { 13734 }

Why is main purpose of XML?


Answer

Hi...
XML:XML is cross-platform independent ,hardware and
software independent tool for transporting the data between
two heterogeneous systems,XML describes the data.

Is This Answer Correct ?    20 Yes 2 No

Question { 19536 }

what is the port number of RMI?


Answer

I think 1099.

Is This Answer Correct ?    17 Yes 4 No

Question { Wipro, 9898 }

Explain the sequence of steps to connect to the database?


Answer

Hi... These are the steps to connecting to the database
1: Loading the drivers
2:Get the connection
3:Create the statement
4:Execute the query
5:Process the resultset
6:Close the connection

Is This Answer Correct ?    18 Yes 0 No

Question { 4973 }

How to store images in database?


Answer

Hi... By using "Blob" and "Clob" datatypes

Is This Answer Correct ?    8 Yes 2 No

Question { 5401 }

How transactions are performed using JDBC ?


Answer

Hi... Using the following methods we can perform
transactions in JDBC
1:commit();
2:rollback();
3:setAutoCommit();These are in the Connection interface

Is This Answer Correct ?    4 Yes 0 No

Question { 6252 }

What type of driver you use in real-time projects?


Answer

Hi...Type4 driver will give u better performance.So u can
use this driver in real-time projects

Is This Answer Correct ?    4 Yes 0 No

Question { 4791 }

What is the equivalent method for precompiled SQL Statement
in JDBC?


Answer

Hi... The "PreparedStatement" interface provides one method
i.e prepareStatement("some query");

Is This Answer Correct ?    3 Yes 1 No

Question { 4496 }

How to find number of records in result set?


Answer

Hi...You can use one separate query for that purpose
i.e String query ="select count(*) from emp";
It will give u total no.of records in ResultSet.

Is This Answer Correct ?    2 Yes 5 No

Question { 3894 }

What is a Connection?


Answer

Hi...Actually Connection is an interface in JDBC API.
Which provides the communication b/n the frontend and
backend


Is This Answer Correct ?    2 Yes 0 No

Question { 7048 }

What is meant by a ResultSet?


Answer

Hi...Actually ResultSet is an interface in JDBC API.
Which can be used to accessing the data from the database ,
i mean which stores the database objects

Is This Answer Correct ?    5 Yes 1 No

Question { Vertex, 7896 }

What type of driver called is pure Java driver?


Answer

Hi...
TYPE4 driver is the pure java driver,which gives the
sophisticated performance

Is This Answer Correct ?    0 Yes 0 No

Question { 5827 }

What is the syntax of URL to get connection?


Answer

Hi...
Connection con=DriverManager.getConnection
("jdbc:odbc:datasource name","scott","tiger");
(To connect oracle database)

Is This Answer Correct ?    9 Yes 1 No

Prev    1    [2]   3   4   5    Next