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 :: operator in java 8?
Can you add null to a list java?
Explain about field hiding in java?
What is string and its types?
Hi all, I am dng a mini project on FileSplitter application which splits the GBs of logfile into Smaller chunks(mbs) depending on the split size." How to handle GBs file? I am getting OutOfMemoryException, when I input such GB sized file. Thx
Give the difference between the println method and sqrt method?
How can we create a synchronized collection from given collection?
How does java pattern compile work?
What is factor r?
When a byte datatype is used?
how to create constants in java?
Why is java so popular?
What is mutable object and immutable object?
Explain try and catch keywords in java?
What is an example of a keyword?