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...

how to call a method in different package?

Answer Posted / venkatachalapathy

import fully Qualified name of the package in which the
method is present
use the method as "classname.methodname"
or
create the object of that package using a fullyqualifed
name of that package and use the method
as "object.methodname

Is This Answer Correct ?    12 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the differences between the constructors and methods?

1093


What is the point of java?

997


What is the purpose of the enableevents() method?

1024


What are the important features of Java 10 release?

977


How can we create a thread in java?

1004


what is the difference between a threads start() and run() methods? : Java thread

1001


What is thread safe in java?

968


Differentiate between a constructor and a method? Can we mark constructors final?

1173


What is charat java?

938


Is it possible to specify multiple jndi names when deploying an ejb?

975


What is the buffer limit?

1010


Can a final variable be initialized in constructor?

955


How much ram can a 64 bit processor theoretically?

866


How to sort an array in java without using sort method?

868


what is the purpose of the runtime class?

1045