id/email
password
forgot password | create account
about | help | code help+videos | done | prefs
CodingBat code practice

 

tmhscs@gmail.com datetime > dateTime_codingbatTimeZone
prev  |  next  |  chance

Given a boolean "b", if it is false return an empty String, if it is true return the name of the time zone that the website CodingBat is hosted in. Use the TimeZone class to accomplish this!

The answer to this problem is hidden in other tests.


dateTime_codingbatTimeZone(false) → ""
dateTime_codingbatTimeZone(false) → ""
dateTime_codingbatTimeZone(false) → ""

...Save, Compile, Run (ctrl-enter)

public String dateTime_codingbatTimeZone(boolean b) { }

Editor font size %:
Shorter output


Forget It! -- delete my code for this problem

Progress graphs:
 Your progress graph for this problem
 Random user progress graph for this problem
 Random Epic Progress Graph

Java Help

Misc Code Practice

Post-solution available

Copyright Nick Parlante 2017 - privacy