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 |
How many ways can you break a singleton class in java?
How do you use, call, and access a static method in Java?
Can we use String with switch case?
What does system.gc() and runtime.gc() methods do?
Define interface in java?
What is equlas() and hashcode() contract in java? Where does it used?
What is a lock or purpose of locks in java?
What are order of precedence and associativity, and how are they used?
Name the immediate superclass of the MenuComponent class?
Difference between Primary key and unique key?
What are the differences between heap and stack memory?
What is == mean?