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,227
Replies
11
Views
4,752
Replies
7
Views
8,186
Replies
0
Views
2,750
Replies
2
Views
2,954
Newer threads
Replies
0
Views
2,679
Replies
5
Views
4,803
Replies
22
Views
9,554
Latest threads
Replies
0
Views
210
Replies
3
Views
305
Replies
3
Views
327
Replies
3
Views
65
Replies
3
Views
246
Recommended threads
Replies
10
Views
4,202
Replies
0
Views
2,314
Replies
18
Views
9,883
Similar threads
Replies
2
Views
3,751
Jen
Replies
4
Views
2,953
Jim
Replies
11
Views
6,390

Latest postsNew threads

Referral contests

Referral link for :

Sponsors

Popular tags

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top