can we access the method of class without creating the
object of the class
Answer Posted / chanki
using static member(static)before d methode name,we can
directly call dat method widout creating object of dat
class..
for mat should be:
classname.methodname();
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is Java Shutdown Hook?
Explain about field hiding in java?
what is thread? : Java thread
You're given a Boolean 2D matrix, can you find the number of islands?
How do you create a first line indent?
What is a function argument in java?
What are byte codes?
What is thread safe singleton?
What is listnode in java?
What is difference between stringbuffer and string?
What is dot operator?
What is class??
What is a java object and java application?
In the below example, what will be the output?
How do you compare arrays in java?