I'd like just to add that if you say "The boy doesn't have a pen", you'll have to use the genitive case. So, it'll sound "У мальчика нет ручкИ"