Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search Coderanch
Advance search
Google search
Register / Login
Win a copy of
Communication Patterns: A Guide for Developers and Architects
this week in the
Design and Architecture
forum!
Gael Lalire
Greenhorn
+ Follow
news
1
Posts
1
Threads
since Jun 30, 2006
Merit badge:
grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads
Recent posts by Gael Lalire
Little challenge
class A { final static boolean i; static { B.f(); i = true; } } class B { final static boolean i; static void f() { } static { i = A.i; } } class C { public static void main(String[] args) { System.out.println("A.i --> "+A.i); System.out.println("B.i --> "+B.i); } }
What the result of
java C
and why ?
show more
18 years ago
Programmer Certification (OCPJP)