Julie beat me to it, but I wanted to mention a trivia contest that Devsource is running. I submitted a question for the contest (it’s #3, if you hadn’t guessed, and, no, I won’t give you the answer), so that means I can’t win the laptop. Oh well… But that leaves the field wide open for everyone else…
The answer to your question #3 is true.
Question 1: What is Edsger Dijkstra best known for?
Is he really known best for Goto Considered Harmful? I always thought he was better known for the shortest path algorithm that bears his name, or his research on operating systems/deadlocks/semaphores/etc. (Or perhaps he’s known best for his mouth. ๐
Not to be anal, but isn’t question #3 ambiguous? Since I got there from here, I assume we are talking about VB.Net, but the question is phrased as though we are talking about VB 6.0…and while I never did any realy vb 6.0 programming, I’m like 95% sure that the answer will change depending on which we are talking…
Karl, well, it’s not totally ambiguous since you can’t overload methods in VB prior to .NET, so I think it should be pretty clear. At least, I hope so.
I thought Dijskstra was known best for naming important operations (methods) with the single-letter names P and V. Nowdays, such things are considered at least as harmful as GOTO.
"leaves the field wide open for everyone else"
Well, not *everyone*. It’s yet another US-only competition ๐
Ach well, I understand why, but *sniff*
RE: Question #3 — here’s a hint ๐
Class A
Sub Cool(ByVal a As Integer)
End Sub
Sub Cool(ByVal a As Integer, ByVal b As Integer)
End Sub
End Class
Class B
Inherits A
Overloads Sub Cool(ByVal a As Integer, ByVal b As Integer, ByVal c As Integer)
End Sub
End Class
It’s too bad I don’t know any of the other answers to that contest LOL.
Paul,
Answer (d) is "Visual Basic doesn’t support the Overloads keyword" which is what I found ambiguous…(d) is true in a VB.notNet…
Urg, Karl, I see your point. My mistake…
These aren’t my answers but i didn’t know to change the othere persons!!!