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 Java Shutdown Hook?

1113


Explain about field hiding in java?

880


what is thread? : Java thread

921


You're given a Boolean 2D matrix, can you find the number of islands?

1045


How do you create a first line indent?

935


What is a function argument in java?

943


What are byte codes?

1129


What is thread safe singleton?

891


What is listnode in java?

933


What is difference between stringbuffer and string?

897


What is dot operator?

967


What is class??

1171


What is a java object and java application?

985


In the below example, what will be the output?

970


How do you compare arrays in java?

881