class A
{
class B
{
psvm(String args[])
{
}
}
}
if the prg saved in A.java whats the o/p?

Answer Posted / chanchal

Compilation error:-

Becouse Inner classes cannot have static declarations

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How large is a boolean?

549


What is difference between == equals () and compareto () method?

527


In which order the iterator iterates over collection?

574


What is anagram number?

453


Can we sort set in java?

531






What is a Transient Object?

627


What is nested class?

562


What are user defined exceptions?

582


What are adapter classes?

597


Can size_t be negative?

605


Is array passed by reference in java?

572


What is backdrop?

590


Can we catch more than one exception in single catch block?

597


What is the significance of continue jump statement? Explain with an example.

736


What is a heavyweight component?

537