What is static variable and static method?

Answer Posted / naraen

static variable is a class variable. This life time scope
in whole prgm...

static method is use to access without creating object in
the java prgm...

Is This Answer Correct ?    53 Yes 26 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Java.util.regex consists of which classes?

630


What is the difference between the final method and abstract method?

637


What are byte codes?

750


Is empty set an element of empty set?

708


What is the size of integer?

683






What is the exact difference in between unicast and multicast object? Where we will use?

656


What is the technique adopted to create an immutable class?

634


Explain the selection sort algorithm and state its time complexity?

695


Why are arrays useful in java?

634


Is it possible to override private or static method in java?

627


What is gui programming?

608


What is difference between path and classpath?

645


Should database connections be singleton?

644


What is temp in java?

665


What is difference between classpath and path variables in java?

660