Answer Posted / murali.25
you also prevent overriding by making the method static
Is This Answer Correct ? | 3 Yes | 6 No |
Post New Answer View All Answers
FOR EXAMPLE WE R HAVING TWO LIST ELEMENTS ..BOTH LISTS CONTAINS ID,NAME,PLACE ..I NEED TO COMPARE BOTH IDS IN TWO LISTS,IF ID'S R SAME MEANS WE HAVE ADD THE DETAILS(LIKE NAME,PLACE) TO MAP...HOW IS POSSIBLE ?CAN ANY ONE SUGGEST?
Is namespace same as package in java?
Is jdk required on each machine to run a java program?
Can a class have 2 constructors?
What is a void method?
What is bytecode verifier?
What is the difference between an interface and an abstract class?
What is oop in java?
How do you find the maximum number from an array without comparing and sorting?
What is update method called?
What is a double vs float?
Can we have multiple classes in a single file?
Why do I need to declare the type of a variable in java?
What is difference between string and new string?
Which way a developer should use for creating thread, i.e. Sub classing thread or implementing runnable.