Two Laptop Bag
The moose likes Product and Other Certifications and the fly likes Question on Round Up game Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Product and Other Certifications
Bookmark "Question on Round Up game" Watch "Question on Round Up game" New topic

Question on Round Up game

JpShruti Agarwal

Joined: Aug 14, 2006
Posts: 4
Instance Variables are always assigned default values, if not explicitly assigned one at declaration.

For this Question in the game the answer 'true'

I had marked it 'false', taking the below case-

if the variable is marked 'final' then a default value is not given to it we need to assign one (before itz constructor completes.)
So is 'true' still the right answer?
Marc Peabody
pie sneak

Joined: Feb 05, 2003
Posts: 4727

Moving this to the JavaRanch forum...

A good workman is known by his tools.
I agree. Here's the link:
subject: Question on Round Up game
It's not a secret anymore!