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
Difference between final and effectively final ? Why is effectively final even required ?
How do you do absolute value in java?
Can we create a class inside a class in java?
What are access specifiers in java ?
How will you invoke any external process in java?
What is the difference between assignment and initialization?
How many types of design patterns are there?
What is java virtual machine? Explain
how we can make a write-only class in java?
What are constants?
Using callable statement how can you pass out parameters, explain with example?
Can an interface have a constructor?
What are variable names?
These static constructors are correct ? class A { statc intA() { } static A(int x,int y) { } static A(int x) { } }
23. Storage space in java is of the form Stack Queue Heap List 24. What is java code embedded in a web page known as Applets Servlets scriptlets snippets 25. Which of the following attributes are compulsory with an