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
How does class forname work in java?
Why generics are used in java?
What mechanism does java use for memory management?
why we use merge option in hybernate pls give a ex snippet
What is a null point?
Write a method that will remove given character from the string?
What is getclass () getname () in java?
What are the supported platforms by java programming language?
Why is boolean important?
What is the purpose of an interface?
What are the 6 boolean operators?
Class c implements interface I containing method m1 and m2 declarations. Class c has provided implementation for method m2. Can I create an object of class c?
How does the java compiler work?
Where to store local variables?
What is the importance of finally block in exception handling?