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
What is the indent key?
Differentiate between a class and an object.
define polymorphism in java
What is singleton math?
What is the purpose of extern variable?
What is not thread safe?
Explain wait(), notify() and notifyall() methods of object class ?
What is a finally block? Is there a case when finally will not execute?
Does unicode support all languages?
Can a class have more than one object?
What is an object class?
Which is better arraylist or vector?
How many types of flags are there?
What is a jit compiler?
When is the finally clause of a try-catch-finally statement executed?