The default security code is "12345" (if you have not changed it) and if the security code has been changed than take it to the Nokia service and they will unlock it for you!
ya i agree with your statement , if your nokia mobile while asking first time security code means you try the default code as "12345" otherwise suppose if your forget that code means you have to reset your mobile its a only way to use your mobile ..........
Get the reset code for your Nokia 3315 model mobile from this site Unlock-free.com , here get the best ways to reset your nokia mobile.........