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


Please Help Members By Posting Answers For Below Questions

What is communist flag?

574


How many bytes is a string in java?

535


what are abstract functions?

569


What are reference variables in java?

600


What is the original name of java?

546






What is meant by inheritance and what are its advantages?

583


What is singleton class and how can we make a class singleton?

661


How big is a gigabyte?

622


What are wrapper classes in java?

602


What is the difference between length and length () in java?

529


what is thread in Java ?

631


hi am an engineering student and my next plan is for ms in either in us or australia i got my passport but i dont know anything bout visa can u give brief idea 1)How to get prepared for visa and 2)How to apply for top universities and 3)How to pay the fee and so on These all are basic questions plz give me a clear idea

1465


In java how do we copy objects?

558


Differentiate between static and non-static methods in java.

571


Why there are some null interface in JAVA? What does it mean? Give some null interface in JAVA?

624