When asking for something that seems to be very easily available to you, it helps if you explain why that already-available information isn't enough.
Have you tried googling the same question? It sounds like you could grab just about any java tutorial to find your answer.
We would just be repeating the same thing that's already said in all those other places. If those weren't enough, then our answers won't be either. And if our answers would be enough, then they would be too.
The difference is that you get the answer much slower and with more effort from others. It's bad for everyone!