These questions might seem pretty lame, but as an interviewer it does tell you something about the candidate's level of experience with a language.
If you've worked with a language for any decent amount of time. There are things that you really should know without having to look it up all the time.
This is especially true if you mention on your resume that you're an expert at something. I'm definitely going to ask you a difficult question about it and I'll expect you to answer in some depth.
If you mention you're a Java pro but can't tell me what the 'synchronized' keyword does for example. I'd be concerned.