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 difference between next () and nextline () in java?
What is meant by structural programming?
How to set the permissions to a file in java?
How does thread synchronization occurs inside a monitor?
Explain about serializable interface in java?
Are registers volatile?
What do you mean by formatting?
What are white spaces in java?
Why stringbuilder is not thread safe?
What is a 16 bit word?
Compare java and python.
What does \ mean in regex?
What is the implementation of destroy method in java. Is it native or java code?
What is anti pattern in cyber security?
Which sorting algorithm is best in java?