SCJP 6
Why to worry about things in which we dont have control, Why to worry about things in which we have control ! !
how does the java GetJar call in answer A find MyApp.Foo with a classpath specified
Kedar Nath wrote:So does that mean that option A is wrong???
The link shows that classpath include current directory .
So it should work right ???
Kedar Nath wrote:The link shows that classpath include current directory .
So it should work right ???
3. public class GetJar {
4. public static void main(String[] args) {
5. System.out.println(myApp.Foo.d);
6. }
7. }
Kedar Nath wrote:Surprising ! ! !
This is what i i have in my e-book myApp.Foo.d
SCJP 6
Why to worry about things in which we dont have control, Why to worry about things in which we have control ! !
Kedar Nath wrote:Actually it downloaded from some site... illegal copy
But with right ansewers i guess
James Tharakan wrote:Even i have it as myApp.Foo.d
Sachin Adat wrote:
James Tharakan wrote:Even i have it as myApp.Foo.d
Now this is really strange.......
James you can even copy and paste, mine is secured......cant even copy and paste..........![]()
This is the reason why sometimes I think piracy is not that bad.........
SCJP 6
Why to worry about things in which we dont have control, Why to worry about things in which we have control ! !
SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links