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

Which java.util classes and interfaces support event handling?

2 Answers  


Is char a method in java?

0 Answers  


What happens if I remove static from main method?

0 Answers  


What are the 6 boolean operators?

0 Answers  


Is multiple inheritance supported by java?

0 Answers  


What are the four pillars of java?

0 Answers  


how to print output with out using sop statements

5 Answers   UHG,


What is included in core java?

0 Answers  


please send code example of inner classes?

2 Answers  


Need 2+ yrs experienced java techinical question papaer for company Iflex

1 Answers   TCS,


What is type inference in java8?

0 Answers  


What collections you have worked on? Internal working of Hashmap?

1 Answers   Bravura Solutions,


Categories