What exactly not to do while coding in Java

lisa

New member
Joined
Jul 16, 2014
Messages
85
Points
0
Hello guys,
All of us usually learn about the very best things you can do whenever you do programming in Java, but frequently, people understand through their own errors. Precisely I want to ask what are the major points that should be kept in mind to avoid errors?
 

DavidYFoster

New member
Joined
Jul 19, 2014
Messages
16
Points
0
Hi lisa I think java is a user friendly language but sometimes Permgen or any other error can occur. I can think there are three main reason for this:

1) More the no. of classes will be loaded more spaces will be occupied in permgen area.

2) Too many reference of static variable in application.

3)Too many use of string literals in application.
 
Older threads
Replies
3
Views
4,887
Replies
11
Views
5,915
Replies
7
Views
9,047
Replies
0
Views
3,301
Replies
2
Views
3,461
Newer threads
Replies
0
Views
3,152
Replies
5
Views
5,551
Replies
22
Views
11,812
Latest threads
Replies
1
Views
54
Replies
0
Views
92
Replies
2
Views
192
Replies
0
Views
149
Replies
2
Views
290
Recommended threads
Similar threads
Replies
2
Views
4,595
Jen
Replies
4
Views
3,563
Jim
Replies
11
Views
7,984
Top