Synchronization on Objects
Why does java support synchronization on the Object Class? How is it different from a synchronized method?

oozey mess

Product Placement
sheepfilms
dirt enthusiast

❣ Chile in a Photography ❣
YOU ARE THE REASON
d e v o n

Andulka
Sade Olutola
Misplaced Lens Cap
Not today Justin

blake kathryn
Show & Tell

izzy's playlists!
Lint Roller? I Barely Know Her
Three Goblin Art
Claire Keane

if i look back, i am lost

@theartofmadeline
hello vonnie
seen from Brunei
seen from United States
seen from United States

seen from United States
seen from South Africa

seen from United States

seen from Chile
seen from United States
seen from United States

seen from United States
seen from United States
seen from United States
seen from United States
seen from United States

seen from United States

seen from United States
seen from United States
seen from United States

seen from United States

seen from United States
@interques-blog
Synchronization on Objects
Why does java support synchronization on the Object Class? How is it different from a synchronized method?
Java Stack as a List
Why is a java Stack class inherit from a List? What are the pros and cons? Is the inheritance approach correct in this case? What are other possible approaches?
How is the Java set implemented internally?
It is implemented as a Map of values.
Java Hashcode and Equals
What is the significance of hashcode and equals methods? When should one override them?
Java overloaded methods with Generics
Is the following class compile and run successfully in Java 7? What are the changes you will suggest to make it work.
public class Test {
private long sum(List<Integer> numbers) {
//calculates the sum of integers here
return answer;
}
private long sum(List<Long> numbers) {
//calculates the sum of longs here
return answer;
}
}