what is difference between global methods and local methods?



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

Post New Answer

More Core Java Interview Questions

What are white spaces in java?

0 Answers  


How can you make sure that your singleton class will always return single instance in multi-threaded environment?

0 Answers  


What is the meaning of immutable regarding string?

0 Answers  


What do you mean by platform independence? What is an interface?

0 Answers  


how come we know the object is no more used in the class?

2 Answers   Accenture,






What are constructors in java?

0 Answers  


how to handled exceptions & erros in ejb?

1 Answers   Satyam,


What is an iterator interface in java programming?

0 Answers  


waht happens when a return type ,even void is specified for a constructor?

11 Answers  


List some important features of java 10 release?

0 Answers  


Can a method inside a interface be declared as final?

0 Answers  


What are anonymous inner classes?

0 Answers  


Categories