> Dimitris Vyzovitis writes:
Dimitris> Chris Huebsch wrote:
>>
>>
>> this is not correct. With Java2 you can use deferred-initialization of
>> final-variables.
>>
>> That means that you can declare a: "final ;" and do later a
>> " = ;"
>>
Dimitri
Chris Huebsch wrote:
this is not correct. With Java2 you can use deferred-initialization
of
final-variables.
That means that you can declare a: "final ;" and do
later a
" = ;"
But there must be one and only one initialization!
That's a feature that was missing, but we still compile under jd
Hello,
> in Java all variables with final qaulifier must be initialised during
> decalration. so you can't compile this code
this is not correct. With Java2 you can use deferred-initialization of
final-variables.
That means that you can declare a: "final ;" and do later a
" = ;"
But there mus
On Sun, 14 Feb 1999, alexander lang wrote:
> Hi all.
>
> Does anyone know if one is allowed to initialize static final variables
> within the "try" clause of a static initializer block?
>
> (eg.
> static final int x;
> static{
> try
> {
> x
On Sun, 14 Feb 1999, alexander lang wrote:
> Hi all.
>
> Does anyone know if one is allowed to initialize static final variables
> within the "try" clause of a static initializer block?
>
> (eg.
> static final int x;
> static{
> try
> {
> x =
alexander lang writes:
> Does anyone know if one is allowed to initialize static final variables
> within the "try" clause of a static initializer block?
>
> (eg.
> static final int x;
> static{
> try
> {
> x = 5;
> }
> catch(exc
Hi all.
Does anyone know if one is allowed to initialize static final variables
within the "try" clause of a static initializer block?
(eg.
static final int x;
static{
try
{
x = 5;
}
catch(exception e)
{...and s
On Mon, 23 Nov 1998, Matt Welsh wrote:
>
> You probably have Kaffe installed, which is a free Java Virtual Machine
> replacement.
>
the command
rpm -qf `which javac`
will confirm.
Cheers
John Summerfield
http://os2.ami.com.au/os2/ for OS/2 support.
Configuration, networking, combined IBM
Mike Song wrote:
>
> I installed RH Linux 5.2 and I found that 'javac', 'java' and 'appletviewer'
> are already there and I am able to compile and run simple java programs.
>
> Does this mean that I already have JDK installed?
Looks like it. "rpm" will tell you if they came from a Red Hat pack
You probably have Kaffe installed, which is a free Java Virtual Machine
replacement.
mdw
Mike Song <[EMAIL PROTECTED]> writes:
> Hello all,
>
>
> I installed RH Linux 5.2 and I found that 'javac', 'java' and
> 'appletviewer'
> are already there and I am able to compile and run simple java pr
Mike Song wrote:
>
> Hello all,
>
> I installed RH Linux 5.2 and I found that 'javac', 'java' and
> 'appletviewer'
> are already there and I am able to compile and run simple java programs.
>
> The question is:
> Does this mean that I already have JDK installed?
You sure do. Congratulations! ;
Hello all,
I installed RH Linux 5.2 and I found that 'javac', 'java' and
'appletviewer'
are already there and I am able to compile and run simple java programs.
The question is:
Does this mean that I already have JDK installed?
Thanks a lot
Mike
12 matches
Mail list logo