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
How do you remove an element from an arraylist in java?
What is difference between java and java ee?
Is java good for beginners?
What are the topics in advance java?
How many times finalize method will be invoked? Who invokes finalize() method in java?
What is a line break example?
What do you mean by global variable?
Why wait and notify methods are declared in object class?
Why is multiple inheritance not supported in java?
What is parse method?
What class of exceptions are generated by the java run-time system?
Difference between overriding and overloading in java?
Is java owned by oracle?
What is difference between adapter class and listener?
Is null in java?