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


Please Help Members By Posting Answers For Below Questions

What are jee technologies?

527


What comes to mind when someone mentions a shallow copy in java?

643


What is the default value of byte datatype in java?

470


what are abstract functions?

553


What is :: operator in java?

498






What is a module function?

550


Is java written in c?

530


Why string is called as immutable?

516


Is logger a singleton?

511


What is scanner in java?

525


How do you differentiate abstract class from interface?

521


What is difference between c++ and java ?

660


Why java is said to be pass-by-value ?

532


Are the imports checked for validity at compile time? Will the code containing an import such as java.lang.abcd compile?

581


Can a final variable be null?

535