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

Where import statement is used in a java program?

1076


what is the swingutilities.invokelater(runnable) method for? : Java thread

990


What is a generic type?

954


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

962


What's the difference between an abstract class and interface in java?

973


When do we use hashset over treeset?

986


What is difference between == and === in js?

959


Do I need java on my pc?

975


Can you give names of Container classes?

2258


What is anti pattern in programming?

908


I want to re-reach and use an object once it has been garbage collected. How it's possible?

953


Can we override private method?

1035


Difference between object instantiation and construction ?

1008


What is identifier give example?

973


how to write a server program and sending the mails to the server using smtp protocol please help me

2003