When we can access the static data member without creating
the object what is the need of the object in java.
Answer Posted / vijay
U cant call other class method without object.static member
is common for all object.if u want set some values for
specific object then the object is necessary
Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
Can you give names of Container classes?
Why singleton is not thread safe?
What is the biggest integer?
What does java se mean?
Can I overload to string method
Compare Mutex and Semaphore in java.
How many types of interfaces are there?
What is the inheritance?
How to sort an array from smallest to largest java?
How do you end a program?
Does constructor creates the object ?
What is the use of arrays tostring () in java?
Difference between class#getinstance() and new operator ?
What all access modifiers are allowed for top class ?
Can a static class have a constructor?