Java Interview Questions - Access Specifier
1. What are the access specifiers present in java? There are four types of access specifier present in java I,e public, …
1. What are the access specifiers present in java? There are four types of access specifier present in java I,e public, …
1. What is Applet? It is a special type of program that is embedded in the webpage to generate the dynamic content.
1. What is array and what is the use? Array is a collection of similar types of elements that have continuous memory …
1. What is the difference between the paint() and repaint() methods? You should call this method if you want a component …
1. Does garbage collection guarantee that a program will not run out of memory? Garbage collection does not guarantee …
1. What are the controls structures present in java? Java supports five type of control structure. Conditional control …
1. What is Exception and why to use? Exception is nothing but a situation where program terminate abnormally. 2. What is …
1. What is File? File is a container which store text or binary information for a permanent period. 2. What are the …
1. How to access the member of a different class? To access the member of different class user may use Aggregation or …
1. Define package? package is a collection of group of similar types of classes , interfaces and sub packages. 2. State …
1. What are the different types of methods in java? There are 6 types of method support by java. They are: