Edgar Trania

Greenhorn
+ Follow
since Feb 14, 2013
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 Edgar Trania


line 6 can produce output
but in line 9 caused compile error incovertible type
10 years ago
yeah it will return all list elements to array
but im trying to say that i got confused with array semantics but nevermind then
10 years ago
what happen to this code construction of array sized 0

this code produced output 4
10 years ago
i ran the code and as far as i concerned starting thread without transitioning could give unpredictable output :P
try to include the package
java com.package.Class
alright thank guys your reply is really appreciated
line 18 and line 19 gets myself tricked, if line 2 change to static and ofcourse synchronized(StringBuilder.class) as well, some threads might blocked and the output prints into consistent manner am i right?
hi everyone im new here and apparently im preparing for my exam as im posting to this section

can someone explain why if line 5 is uncomment the output will be consistent "it prints 5 consistent per line"