developer's user avatar
developer's user avatar
developer's user avatar
developer
  • Member for 13 years, 1 month
  • Last seen this week
159 votes
8 answers
108k views

What is a WeakHashMap and when to use it? [duplicate]

74 votes
2 answers
54k views

What is the difference between M2_HOME and MAVEN_HOME

70 votes
10 answers
92k views

Using int vs Integer

68 votes
8 answers
88k views

How instanceof will work on an interface

48 votes
5 answers
41k views

Methods visibility in interface

23 votes
11 answers
8k views

Why can't we use assertion for public methods?

21 votes
3 answers
70k views

Maven not compiling class and there is no class files in war file

20 votes
9 answers
31k views

Constructors in abstract classes? [duplicate]

18 votes
3 answers
77k views

How to show JSF components if list is not null and has size() > 0

16 votes
6 answers
28k views

zero length arrays [duplicate]

11 votes
6 answers
15k views

Why are there no global variables in Java? [closed]

10 votes
7 answers
5k views

is there any code, that will never execute finally clause? [duplicate]

10 votes
3 answers
51k views

getting error java.io.IOException: Server returned HTTP response code: 401 for

10 votes
7 answers
1k views

When initialising any class in java, does it create two objects?

8 votes
4 answers
7k views

Is closing the connection in finalize best practice? [duplicate]

8 votes
6 answers
2k views

Other way to synchronize method

7 votes
2 answers
2k views

when and why do use JumboEnumSet

6 votes
4 answers
163 views

Within a method m in a class C, isn't this.getClass() always C? [closed]

6 votes
4 answers
10k views

Methods with variable argument list

6 votes
3 answers
246 views

With less memory usage need to reorder the array elements

6 votes
2 answers
14k views

date conversion from DD/MM/YYYY HH:MM:SS to YYYYMM

5 votes
1 answer
17k views

Getting Exception - java.lang.IllegalStateException: A JTA EntityManager cannot use getTransaction()

5 votes
3 answers
41k views

Where are Websphere database configuration files saved?

5 votes
1 answer
14k views

Example of a O(2^N) algorithm [closed]

5 votes
7 answers
31k views

How to get the hard disk serial number using Java?

5 votes
5 answers
12k views

why public constructor should be provided in javabean class

4 votes
0 answers
784 views

LSOpenURLsWithRole fails when opening App from command line

4 votes
3 answers
7k views

Server returned HTTP response code: 403 for URL: Iam displaying webpage on JEditorPane

4 votes
5 answers
2k views

Decompiled java classes have some special characters

4 votes
6 answers
33k views

How to create an immutable class in Java without using final keyword [duplicate]

1
2 3 4 5 6