What happens when a class is made static like if a field or
member is made static it becomes class variable and is
shared by all the object of the class?
Answer / arvind verma
If a class is made static then we can access it's methods &
variables by using class name , no need to create class
object
| Is This Answer Correct ? | 1 Yes | 0 No |
What is difference between char array and string?
How to find the size of an array a)array.length() b)array.length c)array.size() d)array.size
What are voids?
Difference between default and protected access specifiers?
Consider that class classA, abstract class classB, and final classC have been defined.Which one of the following is correct? 1. classA extends classC implements classB 2. class A extends classB, classC 3. classA extends classB 4. classB implements classC
What is a super class and how super class be called?
explain Anonynous inner class?
What is the difference between stringbuffer and stringbuilder?
What is final method in java?
When do we use synchronized blocks and advantages of using synchronized blocks?
Explain about data types?
What is the use of an interface?