This week's giveaway is in the Spring forum.
We're giving away four copies of Microservices Testing (Live Project) and have Chris Love & Andres Sacco on-line!
See this thread for details.
Win a copy of Microservices Testing (Live Project) this week in the Spring forum!

Mauricio Archbold Babroza

Greenhorn
+ Follow
since Apr 01, 2009
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 Mauricio Archbold Babroza

I want to meke the SCWCD, but I do not know what book to read ??
tell me what book I can read please.

And given the following five fragments:
I. new Starter().run();
II. new Starter().start();
III. new Thread(new Starter());
IV. new Thread(new Starter()).run();
V. new Thread(new Starter()).start();
When the five fragments are inserted, one at a time at line 9, which are true? (Choose all that apply.)
these are the answer
C. Only one might produce the output 4 2
D. Exactly two might produce the output 4 4
, but why??? if i run this code the output is 1 8 in my pc???



And given these two fragments:
I. synchronized void chat(long id) {
II. void chat(long id) {
When fragment I or fragment II is inserted at line 5, which are true? (Choose all that apply.)
A. An exception is thrown at runtime
B. With fragment I, compilation fails
C. With fragment II, compilation fails
D. With fragment I, the output could be yo dude dude yo
E. With fragment I, the output could be dude dude yo yo
F. With fragment II, the output could be yo dude dude yo

when i run the programa the output with the two fragments is the same yo yo dude dude but the answer in the book is the F, ??
I can not understand why?
and if the real answer is de f ,why the d could not be too?
sorry for my english jeje

what is the diference between make directories, with mkdir and mkdirs???
thanks....
corret me if i wrong,
Dozens [] da = new Dozens[3]; --> 1 object
da[0] = new Dozens(); 2 objects , one is the object dozens and the other is an array of int dz
Dozens d = new Dozens(); 2 objects , one is the object dozens and the other is an array of int dz

why are Five objects were created and Two objects are eligible for GC???

why the answer is true true???
if the code the f1 and z does not have final the answer is the same???
why is the result "furry bray" and is not "furry generic noise"???

Given:



Which two are true about the objects created within main(), and eligible for garbage collection when line 14 is reached?
these are the answers:
C. Five objects were created
F. Two objects are eligible for GC


what are the five objects???
I am studying for certification scjp, and I'm reading the book katy sierra, I know that the chapter of database not appears but I want to learn it, anyone know of a reference book for java 1.5 or 1.6 to download? ?