What exactly not to do while coding in Java

lisa

Member
Registered
Joined
Jul 16, 2014
Messages
48
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
Registered
Joined
Jul 19, 2014
Messages
6
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,601
Replies
15
Views
9,096
Replies
0
Views
2,846
Replies
6
Views
4,885
Replies
32
Views
15,100
Newer Threads
Replies
6
Views
5,107
Replies
17
Views
10,050
Replies
5
Views
5,068
Latest Threads
Replies
1
Views
1,317
Replies
3
Views
1,088
Replies
1
Views
680
Replies
2
Views
1,271
Replies
1
Views
851
Recommended Threads
Replies
15
Views
11,695
Replies
0
Views
1,729
Replies
24
Views
33,709
Similar Threads
Replies
6
Views
4,002
Replies
1
Views
3,458
Replies
13
Views
9,167

Sponsors

Tag Cloud

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