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
What is generic class?
What is an enumeration?
What is dot operator?
Why lambda expression is used in java?
Is list ordered in java?
Which number is denoted by leading 0x or 0x in java?
how to create constants in java?
Why is String immutable?
What happens if an exception is not handled in a program?
What is the significance of continue jump statement? Explain with an example.
Is null a value?
How can we make a class singleton?
What do you mean by boolean?
How is java created?
How do you bind variables?