English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

2 answers

I guess you are asking for "final" as in:

public final class Math {
....
public static final double PI = 3.14159; // right out the book
....
}

Hmm...that seems too obvious. Maybe you are asking for something else.

2007-02-12 08:31:14 · answer #1 · answered by bytekhan 2 · 0 0

'const' is what you want, if you're talking a class-member.

2007-02-12 19:44:19 · answer #2 · answered by fixedinseattle 4 · 0 0

fedest.com, questions and answers