How to call static method in Java?

Answer Posted / samar

any one method which is public static and also in public
class can call without create any instance.
in java

public static void main ( string args[])

allways call directly through when class created .
then construct then.

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

If u need any fake experience certificate in software side, contact me at: vikramyadhav@gmail.com

8104


Is class is a abstract datatype in java?

1720


Write a shell program to test whether a given year is leap year or not ?

2489


what are importance in problem tracking

1837


write algo for cobol program whichuse three flat file to extract some specific information 8 marks mainframe

1789


what is the diff bw sql direct and jdbc update can't we do select and updating operation in sql direct

1942


Write a program to find whether a given number is prime or not.

812


what is the difference between Windows application and Unix application?

2391


Difference between views and index in sas programming

1257


what are the differences between CONS, LIST, and APPEND

5027


what is the difference between an OS(operating system) and Framework?

1765


Need guidewire related Documents(Interview Question/Tips/Best Practice/Dumps)

325


what is web configuration file

1791


what is woransient key word? how it is used in java

2054


Difference between HTML and DHTML?

1888