<< Closures in Java 7: It's (Maybe) Off Again | Home | JavaFX Script To Live On At Project Visage >>

Friday Java Quiz: Know Your Properties Files

Here's a little Java quiz to cheer everyone up:

Given the following foo.properties file:

Start Time: Fri Sep 24 11\:02\:45 CDT 2010

Q: After loading this file into a java.util.Properties object, what is the value of the Start Time property in the object?

Strict rules apply today: No compiling, googling, or reading any documentations before you write down your answer.

Tags :


Re: Friday Java Quiz: Know Your Properties Files

'Start' would be the key and the rest would be the value (the first space is considered the delimiter)

Re: Friday Java Quiz: Know Your Properties Files

I'm thinking Start would be the variable and null would be the value (no '=' sign)

Add a comment Send a TrackBack