preety singh

{ City } delhi
< Country > india
* Profession * sales manager
User No # 3
Total Questions Posted # 7
Total Answers Posted # 5

Total Answers Posted for My Questions # 23
Total Views for My Questions # 39254

Users Marked my Answers as Correct # 25
Users Marked my Answers as Wrong # 16
Questions / { preety singh }
Questions Answers Category Views Company eMail

how to deploy enterprise javabeans?


2 EJB 3839

what is servlet life cycle?


3 Servlets 7548

Is java supports multiple inheritance? explain?

Inforica, BUET,

12 Core Java 13142

what debugging tool that can be used to debug the java programs?


1 Java J2EE AllOther 3422

what is the IDE that you have used to write your java programs?

Inforica, Interface Software,

2 Java J2EE AllOther 4615

How do you debug your java program?

HCL, Inforica,

2 Java J2EE AllOther 4979

how to parse files without .php extension as .php extension, if you using php5 version.

1 Apache 1709

Answers / { preety singh }

Question { Verifone, 13603 }

what is the max no of points of intersection of two circles
of unequal radii


Can you Please explain how the answer will be ZERO???

Is This Answer Correct ?    4 Yes 9 No

Question { Inforica, 13142 }

Is java supports multiple inheritance? explain?


Ok, then how multiple inheritance can be achieved in java?

Is This Answer Correct ?    5 Yes 4 No

Question { Avanigoradia, 7772 }

What is the advantge and disadvantage of mysql_connet() and
mysql_pconnect() ? in which condition will you use
mysql_connect() and mysql_pconnect().


mysql_pconnect() will maintain a persistent connection to
the database. whenever your script calls the connect to
database function, it first searches already existing
connections to the database and if exists it will use the
same connection to connect to the database, if not it will
open a new connection to the database. ie. Connection is

where as mysql_connect() function will establish a new
connection whenever a connection to database needed, and
after executing the script, this function disconnects the
connection. ie. connection is not a persistent one.

mysql_pconnect() function is used where your site has a
Heavy Traffic and where as mysql_connect() function is used
when there is moderate/less traffic to your site.

Is This Answer Correct ?    10 Yes 1 No

Question { Avanigoradia, 4860 }

does PHP support foreign key and Rollback?yes or not.if not
then why. how will you done these concept in php?


PHP supports Foreign Keys in InnoDB Storage Engine in
version and above 4.0. It checks the foreign key referential
integrities on Delete and Select statements. If you strictly
needed the foreign keys and speed is not a concern then you
can create table structures using InnoDB Storage Engine.

Where as MyISAM Storage Engines does not allow foreign key
concept. But it will parse the table that contains foreign
keys but wont check the referential integreties. So it is
the job of the designer/programmer to check the desired key
and its dependency in multiple tables.

Let us suppose you have a field F1(primary)in Table1 and
this field is referenced in another tables denoted as (F2,
F3) in tables Table2, Table3......(as a foreign key)

and when you want to perform a DELETE operation/query based
on field F1, then
First you need to write a query to Delete the specified row
in Table1
and you also need to write a query to Delete all
dependent/referenced rows in other tables Table2, Table3...

Is This Answer Correct ?    6 Yes 0 No

Question { 1709 }

how to parse files without .php extension as .php extension, if you using php5 version.


SetHandler application/x-httpd-php5

Is This Answer Correct ?    0 Yes 2 No