why static class in java or what is use of static class in java
Answers were Sorted based on User's Feedback
Answer / prathyusha
static class is created before object of the class is created.
| Is This Answer Correct ? | 16 Yes | 0 No |
Answer / jyotiranjan jena
JVM can call the static method without creating instance of this class.We can save memory if we create class as static
| Is This Answer Correct ? | 9 Yes | 2 No |
we are using with out creating object for static class because, JVM allocate the consistent memory for static class.
| Is This Answer Correct ? | 0 Yes | 0 No |
what are ER diagrams?
String and stringbuffer both represent string objects. Can we compare string and stringbuffer in java?
What are void methods?
What is a Presistent Object?
0 Answers InfoAxon Technologies,
What is a conditional equation?
Scenario: There are 1 to 100 numbers. Each number should be keep in the each column like from A column to Z column ie 1 to 26. From 27 to 52 should be in 2nd row in the excel sheet. This has to be continue till 100. How do you write Java program and what are various methods.
What super () does in java?
Difference between String & StringBuffer
16 Answers IBM, Infosys, Tech Mahindra, Wipro,
Difference between Superclass and Subclass?
Can we have multiple classes in single file ?
Why is java logo a cup of coffee?
What is the epoch date?