Can you declare a static variable in a method?

Answer Posted / aditya mohata

ya.

Is This Answer Correct ?    3 Yes 28 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is console based application in java?

539


What is the use of a copy constructor?

570


What are the major advantages of internal iteration over external iteration?

569


How many bytes are a float?

501


What is public/private protected in java?

541






What is an exception in java?

641


What is a double?

589


Differentiate storage classes on the basis of their scope?

668


Which is a valid identifier?

542


Is java jre still free?

525


What are the advantages of inner classes?

507


What does super keyword do?

555


Tell some latest versions in JAVA related areas?

555


I want to print “hello” even before main is executed. How will you acheive that?

654


What is floor math?

509