Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

What is a platform?

1153


Name some OOPS Concepts in Java?

1130


Is class is a data type?

1127


What is a nested list?

1017


What is exception in java?

1155


Differentiate between class and structure.

1177


What are packages in java?

1779


Explain why wait(), notify() and notifyall() methods are in object class rather than in the reading class?

1023


Where is java located?

1111


If A Class Is Declared Without Any Access Modifiers, Where May The Class Be Accessed?

1220


What is the major drawback of internal iteration over external iteration?

1077


What is the primitive type byte?

1039


When will we use them?

1100


What is functional interface in javatpoint?

1129


What is bigger kb or mb?

1108