How to count occurrences of each duplicate element in a list {a,b,d,c,a,b} ? Thanks in Advance
TCS,
2 7407how to get the max salary and name of employee from arraylist without using the Comperator or even Comparable interface?
2 26001HOW 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 3154how can be object class inherited to all class in a program when java does not support multiple inheritance??
4 5040take 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).
1522If 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 6273
Explain the purpose of garbage collection in Java?
How many JVMs can run on a single machine and what is the Just-In-Time(JIT) compiler?
What is multiple inheritance? Is it supported by java?
What is gc()?
What is thread life cycle in java?
In java, what is the difference between method overloading and method overriding?
Can a boolean be null java?
If goto and const is reserve words than why it is not work in java?
What is a protected method?
Difference between serialization and deserialization in java?
What variables are stored in stack?
Is a method a procedure?
How do you clear an arraylist in java?
What about main() method in java ?
I want to re-reach and use an object once it has been garbage collected. How it's possible?