they asked class A{}
class B{}
class c{}
all the three class saved as a single file,there is no main
method in the file
and anothe class
M.java
class m
{
psvm(String args[])
{
// here the parent class can access
}
}
Answer Posted / cool_duzz
What is the Question? Please explain...
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Explain the use of shift operator in java. Can you give some examples?
What is the difference between method overriding and overloading?
What is a numeric digit?
FOR EXAMPLE WE R HAVING TWO LIST ELEMENTS ..BOTH LISTS CONTAINS ID,NAME,PLACE ..I NEED TO COMPARE BOTH IDS IN TWO LISTS,IF ID'S R SAME MEANS WE HAVE ADD THE DETAILS(LIKE NAME,PLACE) TO MAP...HOW IS POSSIBLE ?CAN ANY ONE SUGGEST?
What is the purpose of final keyword and when to use it?
What is hashmap in java?
How do you take thread dump in java?
java program with complete 4 oops concepts implemented example
What is the difference between an argument and a parameter?
which class is the wait() method defined in? : Java thread
what is the role of xml in core java?? and how we can use it?? can somebody give a sample program with explanation and from where i can read more about xml?????
Can we pass null as argument in java?
What does mean in regex?
Why main method is static in java?
What are different types of encoding?