How to call static method?

Answer Posted / ravi jain

Simplest thing to remember is

ClassName.staticMetohdName();

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you calculate roots in java?

522


What is arguments in java?

517


What is oops in java?

561


What is assembly used for?

498


What is the difference between heap and stack memory?

539






What are the differences between getting and load method?

540


What is difference between static class and singleton pattern?

475


What is variable explain with example?

566


Is java se open source?

564


Is treeset sorted in java?

576


What is an object's lock and which object's have locks in java programming?

563


Can one thread block the other thread?

599


What are access specifiers in java ?

588


What are the features of junit?

598


What are the advantages of java over C++?

713