Answer Posted / niranjanravi
Global variables are not possible in java because the
concept of Encapsulation is eliminated here.it is not in
the main() method where we declare variables.
| Is This Answer Correct ? | 5 Yes | 8 No |
Post New Answer View All Answers
Can I declare a class as private?
How will you reverse a link list without using recursion?
Can we initialize the final blank variable?
How do you use parseint in java?
What is general methodology?
Is array dynamic in java?
What is void data type?
What is difference between path and classpath variables?
Can a constructor be protected?
what are Hostile Applets?
What is exception handling in java?
What are the 6 mandatory procedures for iso 9001?
What is an iterator java?
What is the access scope of protected access specifier?
How many threads can java run?