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
When we serialize an object does the serialization mechanism saves its references too?
Explain the importance of throws keyword in java?
What language is java written?
How can you make sure that your singleton class will always return single instance in multi-threaded environment?
What is queue in java?
Can java list be null?
Why we use set in java?
How many bits is a char?
In how many ways we can do synchronization in java?
Explain thread life cycle in java?
What is the java project architecture?
what is method reference in java 8?
Can we make a constructor final?
Why java is called not pure object oriented language?
What is java virtual machine and how it is considered in context of java’s platform independent feature?