what is difference between global methods and local methods?
Answer / 31st august 2009
Global methods are declared globally at class level(Like
static methods), we can directly access those methods with
out creating an object.
Loca methods are declared inside a class, u need to create
an object in order to access those methos
Thanks,
Aryan
sridhar.rvce@gmail.com
| Is This Answer Correct ? | 2 Yes | 0 No |
Can a class be private or protected in java?
What are the methods to rectify ambiguities in the interfaces in JAVA?
Why are the methods of the Math class are static?
What is the relationship between a method?s throws clause and the exceptions that can be thrown during the method?s execution?
What language is pass by reference?
Does java map allow duplicates?
Why does java not allow multiple public classes in a java file ?
what are synchronized methods and synchronized statements? : Java thread
Why use string handling in Java?
Difference between the paint() and repaint() methods?
What is the difference between iterator and list iterator?
what do you mean by stream pipelining in java 8? Explain