Static Variable can referred in non-static method?

Answer Posted / brijendra kumar soni(xavient)

No,In Java Non static method can not permitted the staic
variable.

Is This Answer Correct ?    0 Yes 17 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is boolean flag in java?

581


Can you explain the cs option of java interpreter?

509


What are access specifiers in java ?

590


How many bytes is string in java?

613


What is the difference between a field variable and a local variable?

577






Make a data structure and implement an algorithm to print all the files in a directory. (The root directory can have sub-directories too.)

857


State some situations where exceptions may arise in java?

629


What is local variable and instance variable?

612


What are the advantages of java over cpp?

557


what is the difference between thread and runnable types? : Java thread

551


What is xslt in java?

526


What is difference between adapter class and listener?

502


What is use of static in java?

535


What is application system?

506


Explain numeric promotion?

598