What is static variable and static method?

Answer Posted / ankit

static variable are those variable which call with the hepl
of the class name and they are not initiated.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What the difference is between execute, execute Query, execute Update?

450


What is ternary operator?

647


Enlist diffrent types of inheritance supported by java?

562


Write a program to solve producer consumer problem in java?

654


Is space a char?

603






Can a constructor be private and how are this() and super() method used with constructor?

626


What is command line used for?

703


Can we extend singleton class?

607


How to sort double array in java?

677


What is a nested class?

687


What is hash table in java?

574


How are multiple inheritances done in Java?

709


Why does java does not support multiple inheritance? Explain

637


Explain java coding standards for interfaces?

736


Is there a jre for java 11?

679