This is a program to generate random characters using ‘Math.random( )’ ! public class generaterandom {         final static int maxCharacters = 200;         final static int charPerLine = 30;         public static void main( String [] args )         {     […]

Read More




This blog will give you tips on how to become a Great Java Developer. Apart from the 5 below tips, it should be understood that, it takes time and you cannot become a great developer overnight. Have patience. Work continuously. Tip 1: Master the Java Language Syntax & OO principles. The first step is to buy […]

Read More




In this article, I have given few ideas about object references in Java Programming Language in the from of question and answers. Enjoy the reading !   Question: What does an object reference actually contain ? Answer: The object reference contains some bit patterns (like an address or a pointer) that which only JVM knows, […]

Read More




Let us start from C Language. C supports “Pass-by-Value” and “Pass-by-Pointers”. C++ supports “Pass-by-value”, “Pass-by-reference” and “Pass-by-Pointers”. In Java, there is only “Pass-by-Value” – this is what the Java Specification says. “Passing” is nothing but sending the parameters from a method call to a method definition. As a simple example, in the below program : […]

Read More