my method "abc" return array of interface "xyz" and "pqr" is abstract class implements abc and class "jkl" extends pqr My problem 1) when i call abc it retrun array xyz how can i do this hint xyz refer_xyz = new jkl(); but i can't create array. 2)I want to access method of jkl using reference of xyz??
1 3031StringBuilder s = new StringBuilder("Hello Mom");s.append(",I mean,Mother"); Response.Write(s.ToString()); String s = "Hello Mom"; s+ = ",I mean Mom"; Response.Write(s); Which is faster ? which uses the most memory?
HCL,
6 7102I have one Shopping cart application, i that i have selected some items, while clicking submit button by mistake i have clicked twice or trice, that time items are selected twice or trice. Actually i want only one copy of items but its selected twice or trice. So how can we avoid this problem?
2 5807Hai all I want to print given array in reverse order Ex: int a[]={1,2,3,4,5};display this array in reverse order.
4 4792when a servlet sends request for first time it uses the follwing methods a)init b)doget() c)dopost() d)service
4 6117I have 100 records in a table with two rows. I need to display 10 records per page like Google Search. I need only the Logic(Pagination) in Pure Java. No JSP and all..Thanks in Advance...
2 7031
How a variable is stored in memory?
What is the importance of static variable?
If an object reference is set to null, will the garbage collector immediately free the memory held by that object?
What is the difference between a method and a function in alice?
What is the difference in between cpp and java? Can u explain in detail?
How do you sing an Applet ?
how to convert Java project into Maven ?
What sorting algorithm does javascript use?
What does bitwise or mean?
Why java strings are immutable in nature?
What is serialization in java?
Can we call virtual funciton in a constructor ?
Can we assign null to double in java?
How dead lock situation occurs in java and how you can identify it?
Explain how to convert any java object into byte array.