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.
If I will write
String s=new String("XYZ");
String s1=new String("XYZ");
This program will give me "True".
But When I am creating my own class suppose
public Employee(String name);
Employee e= new Employee("XYZ");
Employee e1 = neew Employee("XYZ");
Then it will give the output as "False".
Can I know what is happening internally?
23. Storage space in java is of the form
24. What is java code embedded in a web page known as
25. Which of the following attributes are compulsory with
an <applet> tag?.
code,height & width.
26. What does 'CODEBASE' in an applet tag specify?.
Files absolute path.
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 firstname.lastname@example.org
explain the concept of virtual method invocation in
polymorphism in detail?