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 a local class in java?
What are desktop procedures?
Is there any case when finally will not be executed?
What is string syntax?
Define Wrapper Classes in Java.
In a my eclipse editor if i want to switch from jdk 1.4 to jdk 1.6 how to do that???? Initially i have jdk1.4
How do you add an element to an arraylist in java?
What is difference between path and classpath variables?
What is use of inner class in java?
What is Gang of four design patterns
What is flag in python?
my method "abc" return array of interface "xyz" and "pqr" is abstract class implements abc and class "jkl" extends pqr My problem 1) when i call abc it retrun array xyz how can i do this hint xyz refer_xyz = new jkl(); but i can't create array. 2)I want to access method of jkl using reference of xyz??