there are N number of matchboxes numbered 1...N.each
matchbox contain various number of stick.Two player can
alternatevely pick some amount of stick from the higest
stick containing box . The player is condidered win if
there is no stick after his move.Find the final move so
that the move player win.
Note:In case the number of stick is equal ,pick the stick
from the higest numbered box.
I am unable to find or learn about print command. I have a
graphical program in core java in applet but i want to give
print command but i have coding for that so if anyone know
about this plz mail me on email@example.com
What is the difference between Java1.4 and Java1.5
What are the differences between Java 1.0 and Java 2.0?
which one is more efficient
state which one either 1 or 2?
why java uses class level type casting ?
EDS (Electronic Data Systems India Pvt Ltd) at Chennai on 16-12-2006.
write a program that list all permutations of ABCDEF in
which A appears before B?
why we use merge option in hybernate pls give a ex snippet
we have syntax like for(int var : arrayName)
this syntax is to find whether a number is in the array or
not.but i want to know how to find that number's location.
How will you serialize a singleton class without violating
What is procedure overloading?
Highest level event class of the event-delegation model?
how a programmer confirms that the data submitted has been
succesfully inserted into the database(either oracle or my
sql).. How a programmer confirm if there is any problem with
the program he wrote for insertion...
ANS:--- >executeupdate method is having boolean return type,
if anything goes wrong in data insertion or data updation,
it would return false. otherwise, if it successfully inserts
data into the database, it would return true
NOW HOW TO I CHECK IN MY DURING EXECUTION WHETHER IT RETURNS
TRUE OR FALSE... WELL IT WILL DISPLAY ANY MESSAGE OR NOT
Any one can explain how the inerface uses in java. give with
1.IN CASE OF DYNAMIC METHOD DISPATCH WHY WE USE REFERENCE
VARIABLE,WE CAN USE THE DIFFERENT DEFINED OBJECT DIRECTLY TO
ACCESS THE DATA MEMBER AND MEMBER FUNCTION OF THAT
RESPECTIVE CLASS?WHAT IS THE MAIN FUNCTION OF "REFERENCE