When we can access the static data member without creating
the object what is the need of the object in java.
Answer Posted / viswa
The question is "when we can access the static data member
with out creating object?
To access a static member of data we no need to create an
object, using class name we can access that static data member.
What is the need of the object in java?
Object is required to access the instance variables as well
as instance methods in the class.With out the object we
can't access them.
| Is This Answer Correct ? | 7 Yes | 2 No |
Post New Answer View All Answers
Which non-unicode letter characters may be used as the first character of an identifier?
What is consumer interface?
Why are global variables used?
Can a class have 2 constructors?
How many types of design patterns are there?
What are the Class Libraries ?
Can the interface be final?
What is object data type?
What is jee6?
Can you override private or static method in java?
What is the static keyword?
What is palindrome in java?
what is interface in java? Explain
Describe the process as to how substring() methodology mechanisms in java.
How variables are stored in memory?