Unless it's an acoustic guitar amp or a monitor speaker with an XLR input, chances are you can't plug a mic directly into it. Some amps have an XLR DI line out so that you can connect an XLR cable (the same cable traditional microphones use), to the mixer so that you don't have to mic your bass amp directly, but microphone monitoring through your bass amp isn't usually a function. This maybe where the confusion lies. Also, line out doesn't take signals in, only sends them out. The line out is so you can connect your amp to a mixer. If you plugged a guitar, mic or anything into the output, expecting it to produce sound like a speaker should, nothing would happen.
If you really wanted to, though I WOULDN'T recommend it, you could use an XLR to 1/4in jack adapter to connect your mic to the input. I wouldn't recommend this because it will generally sound bad. It could handle it, but the speaker isn't designed for it, so you voice won't sound as good as if you were connected to a PA.
Don't feel down hearted for not knowing this, everyone starts somewhere. Just do a bit of research on the amps your buying before you get it.
Actually, my friend was duped by something similar when we first started out, but instead of outputs, it was inputs. He had an amp that didn't have any line outs, and no mics were available. The guy organising it (also his guitar teacher), said he had a machine that went into the input, came back out of the input (that's the weird bit), and puts the sound through the mixer. I was confused when he said this to me, I said to him, nothing comes out of the input. Anyway, everyone always sang his praises, saying he had 30 years experience in music and was a lecturer at a university for music. Turns out, my friend didn't know what a multi fx pedal was... and the guy had set it for him. He wanted to have a classic rock sound, and because he didn't have any other choice because of time, he was stuck with a badly set flanged sound, like an alien. Didn't work, sounded crap. He didn't know what sound he would get until he started to play. He still takes his advice which annoys me. There are many other stories of my friend being duped by this guy, but that's for another rant...
Moral of the story, learn who the right person to ask is about things like this, and make sure the info given adds up.