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

Why is it important to initialize a variable?

1053


What is <> used for in java?

1171


Explain the overview of UDP messaging.

1176


Explain reverse a linked list iterative solution in java?

964


What is hashing principle in java?

1085


What are the steps that are followed when two computers connect through tcp?

1048


Which are different kinds of source code?

1170


how to run ecllipse with jettyserver for windows environment using batch file

2154


Who is the owner of java?

1052


Is boolean a wrapper class in java?

1107


Can we extend singleton class?

1003


String class is defined under which package in java?

1143


What is the old name of java?

1041


Can substring create new object?

1191


What is use of set in java?

1078