James Page

Greenhorn
+ Follow
since Apr 06, 2001
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by James Page

I am looking for a Senior Java Developer position. Currenlty working in Ericsson. Canadian citizen.
Please contact me by email
Thanks for your attention.
22 years ago
Rick,
Many people including myself have used RMI and used
clientid for locking without changing the signature.
Do a searching here, you will find this kind of approach.
James
Hi,
I got my scjp certificate today for which I did the exam on april 6. I will do my follow up exam for scjd tomorrow (june 8).
How long will I get the ceritifcate if I passed? another 2 months?
James
Hi,
Is it possible to verify the file (just the name) uploaded?
Thanks
James
try this.
--------
import java.io.*;
class MyFile
{
MyFile()
{
File f = new File("..\\"); //you can set the directory
File fnew = new File(f,"test1.txt");
try
{
fnew.createNewFile();
}catch (IOException ioe)
{}
}
static public void main(String[] a)
{
MyFile mf = new MyFile();
}
}
#1
Here class Inner is a local innner class. As you cannot have a static local variable.
#2
void print()
{
System.out.println(x);
}
should compile.

Hope it helps.
It compils fine. I am not sure why you have problem to compile it.
Anyone has the answer for the current
IBM mock exam ?
Thanks.