How to count occurrences of each duplicate element in a list {a,b,d,c,a,b} ? Thanks in Advance
TCS,
2 8355how to get the max salary and name of employee from arraylist without using the Comperator or even Comparable interface?
2 27448HOW TO PRINT A NO IN WORDS USING WHILE LOOP THE NO WILL BE PRINTED WHEN IT WILL BE IN THE RANGE BETWEEN 1 AND 3?
1 3818how can be object class inherited to all class in a program when java does not support multiple inheritance??
4 6364take an array with -ve and +ve value both.find out the nearest value of 0(zero).if two values are same like(-2 and +2)then extract +2 is nearest of 0(zero).
1983If there are two notepad opened and working on it . is this a process or thread? computer based Live Example to differentiate between Thread , Process , and Multi tasking ?
3 7631
What is linked hashset and its features?
Why main method is static in java?
When will we use them?
how a programmer confirms that the data submitted has been succesfully inserted into the database(either oracle or my sql).. How a programmer confirm if there is any problem with the program he wrote for insertion... ANS:--- >executeupdate method is having boolean return type, if anything goes wrong in data insertion or data updation, it would return false. otherwise, if it successfully inserts data into the database, it would return true NOW HOW TO I CHECK IN MY DURING EXECUTION WHETHER IT RETURNS TRUE OR FALSE... WELL IT WILL DISPLAY ANY MESSAGE OR NOT
What is comparator in java?
Can we use this () and super () in a method?
What is the use of a copy constructor?
Is java still necessary?
How many types of voids are there?
How do you know if a value is nan?
What is a numeric literal?
I want to re-reach and use an object once it has been garbage collected. How it's possible?
What is Recursion Function?
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?
How to restrict a member of a class from inheriting by its sub classes?