what is different between static and non static methods ,using
example
Answer Posted / siva
we should create object form calling Non static method but
no necessary to create object for calling static method
using class name we call static method
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is an abstract class and what is it’s purpose?
Is empty set an element of empty set?
What is singleton class example?
Can inner class extend any class?
Name component subclasses that support painting in java programming?
What is the use of put method?
What is java’s garbage collected heap?
What's the base class in java from which all classes are derived?
What is the size of int?
What is a file pointer?
What is the purpose of the wait(), notify(), and notifyall() methods in java programming?
How can we make a class singleton?
How do you avoid global variables?
What is serialization in java?
What do you mean by jjs in java8?