Answer Posted / ravikiran(aptech mumbai)
global variables are declared globally and not inside any
method.
They are applicable to all the parts of the class
| Is This Answer Correct ? | 11 Yes | 1 No |
Post New Answer View All Answers
What is formatted output?
What is the basic concepts of OOPS?
Justify your answer that you can't define a method inside another method in java, if you can then how?
How do you reverse a word in java?
How do I remove a character from a string in java?
What is treeset and treemap in java?
How many types of methods are there?
What is the purpose of return statement?
Why do we override tostring method in java?
Can we inherit a class with private constructor?
How do you read a char in java?
What are the differences between c++ and java?
What do you understand by the bean persistent property?
What is the purpose of garbage collection in java, and when is it used?
What was java originally called?