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 4003StringBuilder 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 9157I 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 6939Hai 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 6236How to find the size of an array a)array.length() b)array.length c)array.size() d)array.size
6 11148when a servlet sends request for first time it uses the follwing methods a)init b)doget() c)dopost() d)service
4 7671I 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 8101
What is the purpose class.forname method?
What is the type of lambda expression?
Explain enumeration in java?
What is treeset in java?
java Technical questions asked by JPMC
How can you read an integer value from the keyword when the application is runtime in java? example?
How does singleton class work?
When arithmeticexception is thrown?
How do you identify if jvm is 32-bit or 64-bit from java program?
How can you share data between two thread in Java?
What is the purpose of the finally clause of a try-catch-finally statement in java programming?
What is a line break example?
How to use arraylist in java netbeans?
Does variable declaration allocate memory?
How do you check if an arraylist is not empty?