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 is mean by overriding in which situation we wil use?

5 Answers   Atlas Systems, CSC, DCPL,


Can an interface have a class?

0 Answers  


Explain the difference between abstract classes and interfaces in java?

0 Answers  


why applet doesn't have main? isn't possible a program with out main?

9 Answers   TCS,


What is core java called?

0 Answers  


What is the purpose of using bufferedinputstream and bufferedoutputstream classes?

0 Answers  


What is listnode in java?

0 Answers  


What is user defined exception?

4 Answers  


What is tcp and udp?

0 Answers  


What are the types of loops in Java, and how are they used?

2 Answers  


What does null mean in java?

0 Answers  


what is the purpose of method overriding in java where v r completely re-defining a inherited method instead y can't v create a new method and define.If the question is very silly plz excuse me and do reply.Thank U!

7 Answers   emc2, Kumaran Systems,


Categories