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

Answer Posted / venkat

We can save it as A.java because there the main is included
in this class, And this also is not closed until the main
finction.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to prepare for IT Officers Interview in Banks

1719


What is the difference between iterator and enumeration ?

757


why java does not support unsigned keyword?

4724


What is final variable?

706


What do you mean by aggregation?

835


What restrictions are placed on method overloading in java programming?

782


What is the difference between comparison done by equals method and == operator?

793


how to create daemon thread in java?

839


Mention some features of java?

743


What is lexicographically smallest string?

825


State the significance of public, private, protected class?

867


What are the types of java languages?

742


Can a final variable be manipulated in java?

758


What are features of java?

784


What are the two categories of data types in the java programming language?

732