can we access the method of class without creating the
object of the class
Answers were Sorted based on User's Feedback
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 |
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 |
What is natural ordering in java?
What will happen when using pass by reference in java?
How a class can implement an interface?
What is the java reflection api? Why it’s so important to have?
Is there any use of an abstract class which has no methods and no attributes?
What is t in parametric equations?
If we don’t want some of the fields not to serialize how to do that?
Is 0 true or false?
What is the SimpleTimeZone class?
How is string immutable in java?
What is final int?
What are the standards to place package statement within a source code file?