What is the use of static class?
Answer / Ranjna Rani
A static class in Java contains only static members and cannot have non-static member variables or methods. It is used to group related utility methods or constants together without creating an instance of the class.
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain different ways of passing arguments to sub-routine?
What is the use of arrays tostring () in java?
Is java same as core java?
What is data member in java?
What is meant by tab pans?
What is a method declaration?
What is meant by method?
Difference between static methods, static variables, and static classes in Java.
Explain about field hiding in java?
Given: 1. package test; 2. 3. class Target { 4. public String name = “hello”; 5. } What can directly access and change the value of the variable name? 1 any class 2 only the Target class 3 any class in the test package 4 any class that extends Target
Explain Connection Pooling?
How many bytes is a character?