This content has been marked as final. Show 3 replies
I don't have an issue with it, but some people might claim that the method itself should decide about boldface. A typographer who hasn't been raised on advertising and Web pages would probably object to making boldface available as an option at all.
It's not much of an interview question, unless maybe it was just intended to start a discussion, but I have a nasty feeling it was somebody's hobby-horse, and a box that needed ticking.
I got a question in an interview
And what was your answer?
994896 wrote:Well what if you wanted it italic? Underlined? Strike through even?
printText(String text,boolean bold)