To mock a mockingbird and other puzzles

3 Identical Brothers

We meet three identical brothers named John, James and William.
John and James always lie, but William always tells the truth. You meet one of them, and wish to find out whether he is John.
What one Yes/No question should you ask?

(Since I got complaints that the questions are too easy, I'll try having multi-section questions, and it's the weekend)

4.b:
Now I'm telling you that John and James are both telling the truth and William is a liar. You again meet one of them, and wish to know whether he's John. What Yes/No question should you ask?