Sublime what i got guitar

What key is what I got in?

What I Got by Sublime is in the key of D Major .