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

Answers were Sorted based on User's Feedback



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

Answer / javaguy

yes. we can access the static methods of that class without
creating the object that class

Is This Answer Correct ?    27 Yes 1 No

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

Answer / 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

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

Answer / mmrps

Not possible but abstract class methods can access with out
creating object.The normal class methods with out accessing
that class object.

Is This Answer Correct ?    2 Yes 7 No

Post New Answer

More Core Java Interview Questions

What are teh sub-classes of a component class?

2 Answers  


Give the difference between the println method and sqrt method?

0 Answers  


What are Font and FontMetrics classes?

1 Answers  


What is difference between this and super keyword?

0 Answers  


Which types of exceptions are caught at compile time?

0 Answers  


What is immutable class in java?

0 Answers  


why java is better then .net?

5 Answers   HCL, iGate,


How many bits is a char?

0 Answers  


Difference between java and javascript

0 Answers  


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

0 Answers   Lampex,


Is 0 true or is 1 true?

0 Answers  


we have two threads..both the threads are reading the data.. is there any need of synchronization there?...justify it?

4 Answers   IBM,


Categories