How will I post Java source code in WordPress?

post Java source code in WordPress I encountered issue to post java code on word press site. I was about to first time post a source code in my blog.How will I post Java source code in WordPress? so here is the answer. And I believe that most of the blog sites today can support different programming languages. I will show how to sample code…