sree harsha subraveti

Greenhorn
+ Follow
since Oct 06, 2010
sree harsha likes ...
Netbeans IDE Firefox Browser Java
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
1
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by sree harsha subraveti

Thanks a lot for your help. I could resolve it.
12 years ago
haha.. no.. the file "sample.txt". where should it be for the java file to locate sample.txt?
12 years ago
When I tried to locate a file using There is a method to find the location where the file is searched for. Can you please tell me how do i locate the directory? I mean, what's the method?
12 years ago
in my case, i could resolve the problem by declaring the class public. Thanks for the help.

if class is not declared public, it is package-private apparently..
12 years ago
the code works fine. The simulator shows me to keep dat pointVal method public. and i did it. yet the test parameters are not accepted.

i should have emphasized that the code works fine.
I am just confused if any field or parameters have caused the illeagalaccessexception. infact, the code compiles successfully..
12 years ago
Hey actually it's my solution to topcoder. I just couldnot understand where this illegal access exception is occuring.. it's a bit of clumsy code. This works well on Netbeans 7.0 IDE


can you tell me where this multiple instances thingy happens..
12 years ago
When does this illegal access exception arise? I don't face it when i use NETBEANS IDE but when i upload the solution it doesnot support test parameters and the error is illegal access exception..



can you please explain why in general this illegal access exception is encountered? and do i have a way to find out which part of the code might have caused the exception. i mean is there a way to catch the illegal access exception.
The online API has some vague information but i absolutely have no idea as to what it means..
Illegal access exception java API
12 years ago