Q) I have a ArrayList object, in that object i have added 5
integer values, 5 float values, 5 string values. Now
question is how can delete particular type of data ( i.e all
int values or all float values or string values) in that
list object at a time?
Answer
Is This Answer Correct ? | 5 Yes | 4 No |
I have a Arraylist object, it has duplecate values also. Now
question is i want delete duplecate data in that objet with
out using Set?
Answer
Is This Answer Correct ? | 2 Yes | 5 No |
Question { 2262 }
write a class to input 2 points by the user & check the line
maked by the points is horizontal,vertical or rectangle?
Answer
Is This Answer Correct ? | 1 Yes | 0 No |
I have one POJO class(Java bean class), it has two
variables for that it has setters and getters. Now i have
created two objects for that class and i have set the data
for those variables through this two objects. Now question
is i want check whether those two objects have same data or
not, for this write a program? Thanks, Bose.
Answer
Is This Answer Correct ? | 13 Yes | 0 No |
Question { 5551 }
Sample code to retrieve objects from HashMap in sorted
ascending order?
Answer
Is This Answer Correct ? | 9 Yes | 2 No |
Question { 4304 }
Consider that class classA, abstract class classB, and
final classC have been defined.Which one of the following
is correct?
1. classA extends classC implements classB
2. class A extends classB, classC
3. classA extends classB
4. classB implements classC
Answer
Is This Answer Correct ? | 8 Yes | 0 No |