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
What is the basic concept of java?
What are the 6 functions?
Why do we need autoboxing in java?
Why string is called as immutable?
Is string is a data type?
Explain covariant method overriding in java.
Can we overload the main() method?
How we can execute any code even before main method?
What is java reflection?
Howto get an object that will perform date & time calculations then format it for output in some different locales with different date style.can ne1 tel me the answer of this question.pls
Can subclass overriding method declare an exception if parent class method doesn't throw an exception?
What is the difference between abstract class and interface1? What is an interface?
What is core java called?
What is the java idl system?
Why is string buffer better than string ?