Re: Using pointers in Java
From: Amey Samant (ameyas7_at_yahoo.com)
Date: 01/31/04
- Next message: Amey Samant: "Re: Solve the problem....its urgent"
- Previous message: Roman: "Re: [OT] Win32 JNI Console Class [was: Re: Clear the Screen]"
- In reply to: S Manohar: "Using pointers in Java"
- Next in thread: chris: "Re: Using pointers in Java"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 30 Jan 2004 19:27:15 -0800
hi sanjay
use wrapper classes
your code should be something like
double a,b,c;
Double a1,b1,c1;
a1=new Double(a);
b1=new Double(b);
c1=new Double(c);
.....
callMethod(a1,b1,c1);
a=a1.doubleValue();
b=b1.doubleValue();
c=c1.doubleValue();
....
have a look at java.lang.Double class for documentation
regards
amey
- Next message: Amey Samant: "Re: Solve the problem....its urgent"
- Previous message: Roman: "Re: [OT] Win32 JNI Console Class [was: Re: Clear the Screen]"
- In reply to: S Manohar: "Using pointers in Java"
- Next in thread: chris: "Re: Using pointers in Java"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]