what is difference between global methods and local methods?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we use different return types for methods when overridden?

554


What is difference between array and arraylist in java?

458


What are the four pillars of java?

608


What is a class object?

498


Explain the features of java?

589






what is meant by abstract class?

646


What do you know about the garbate collector?

598


What are nested classes in java?

600


Can a top level class be private or protected?

570


Explain the difference between jvm and jre?

556


How can we create a thread in java?

585


What is thread start?

518


How to create a fecelet view?

555


What is type inference in java8?

573


Explain the significance of listiterator.

586