Execution of a Java application starts with the main() method, this is one of an important Java interview questions for both freshers and experienced. In this article, we will discuss some of the possible java interview questions on main() method. … [Read more...]
33 Number Pattern Programs In Java | Pyramid and Diamond Pattern Programs
In this article, we will learn to print the different Number pattern programs in Java. This is one among the important Java interview questions for fresher. Lets look into the below possible number pattern programs … [Read more...]
Top 14 Java Interview Questions on Static keyword
1. What is static keyword in Java? Static is a Non Access Modifier. Static can be applied to variable, method, nested class and initialization blocks (static block). 2. What is a static variable ? A Static variable gets memory allocated only once during the time of class loading. All the instance of the class share the same copy of the variable, a static variable … [Read more...]