Link Details

Link 23374 thumbnail
User 203431 avatar

By vroosha
via soa.sys-con.com
Published: May 24 2007 / 14:44

If you are planning to hit the job market, you may need to refresh some of the Java basic terms and techniques to prepare yourself for a technical interview.
  • 14
  • 2
  • 2515
  • 1519

Comments

Add your comment
User 186344 avatar

kunnar replied ago:

0 votes Vote down Vote up Reply

Too simple questions.

User 167926 avatar

cwilkes replied ago:

0 votes Vote down Vote up Reply

Any site that has an ad with audio turned on immediately gets a thumbs down

User 203431 avatar

vroosha replied ago:

0 votes Vote down Vote up Reply

sorry, i didn't even know that ad was there ;) firefox rulez ))

User 79499 avatar

in86835 replied ago:

0 votes Vote down Vote up Reply

Q2 Answer has confused grammar, so maybe part wrong.

Q3 Answer is only half right.
synchronized blocks are not for saving time they are for locking a specified object (which maybe a class), so that one thread owns that object while executing inside the block, they can be less efficient and less safe that synchronized methods. You can even have nested synchronized blocks for different objects, but that can be an invitation for Thread deadlocks and maybe a sign of poor coding practice.

Q19 Answer did not mention the new advice from Sun advice that active Swing and AWT objects like JFrame, JWindow, Frame, Window etc. must only be created and access on the GUI Event Thread, even if not visible or enabled.

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.