adspace
Answer Posted / 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 |
Post New Answer View All Answers
Is minecraft 1.15 out?
How to sort array in descending order in java?
What is the difference between break and continue statements?
What is an object in java and how is it created?
What is a classloader in java?
explain different ways of using thread? : Java thread
How to create a base64 decoder in java8?
Write a program to find the whether a number is an Armstrong number or not?
What do you mean by an interface in java?
What is java string pool?
Explain public static void main(string args[]) in java.
Realized?
Write a program to print count of empty strings in java 8?
Differentiate between static and non-static methods in java.
What is a constructor overloading in java?