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 mean by overriding in which situation we wil use?
5 Answers Atlas Systems, CSC, DCPL,
Can an interface have a class?
Explain the difference between abstract classes and interfaces in java?
why applet doesn't have main? isn't possible a program with out main?
What is core java called?
What is the purpose of using bufferedinputstream and bufferedoutputstream classes?
What is listnode in java?
What is user defined exception?
What is tcp and udp?
What are the types of loops in Java, and how are they used?
What does null mean in java?
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,