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 difference between next () and nextline () in java?

942


What is meant by structural programming?

974


How to set the permissions to a file in java?

948


How does thread synchronization occurs inside a monitor?

1056


Explain about serializable interface in java?

948


Are registers volatile?

897


What do you mean by formatting?

947


What are white spaces in java?

985


Why stringbuilder is not thread safe?

972


What is a 16 bit word?

950


Compare java and python.

942


What does \ mean in regex?

1123


What is the implementation of destroy method in java. Is it native or java code?

908


What is anti pattern in cyber security?

968


Which sorting algorithm is best in java?

945