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

can we access the method of class without creating the
object of the class

Answer Posted / chanki

using static member(static)before d methode name,we can
directly call dat method widout creating object of dat
class..
for mat should be:
classname.methodname();

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is finalize()? Is finalize() similar to a destructor?

963


What is the difference between math floor and math round?

1031


What is adapter in java?

916


How many return statement are allowed in a function?

931


What is the relationship between clipping and repainting under awt?

1148


What is int lol?

1134


What is the use of join method?

1026


What are the two types of java?

1163


What is stringreader?

962


According to java operator precedence, which operator is considered to be with highest precedence?

1082


What is map java?

970


How can you traverse a linked list in java?

1124


What is the same as procedures?

980


Is char a data type in java?

967


Why string is immutable or final in java

1078