All this while have been wondering if there was ever a best possible way to post Source code and especially JAVA source code onto WordPress posts and Thanks to myjavaprogramming for helping out.
If you input the above code into wordpress post you will see the below response.
system.out.println("Welcome To SELENIUM PROJECT");
Thanks,
Khaja.
You’re welcome! Good luck with your project!