class A
{
class B
{
psvm(String args[])
{
}
}
}
if the prg saved in A.java whats the o/p?
Answer Posted / ujjal
main method must be outside of the class B.
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
Explain public static void main(string args[]) in java.
Is java written in c?
What are the two ways to create a thread?
What are the advantages of functions?
How do you declare a destructor in java?
What is lexicographically smallest string?
What is the difference between import java.util.date and java .util?
Is java a digit method?
define the terminology association.
What is the purpose of checked and unchecked exceptions in JAVA?
Why for each loop is used?
What's the purpose of static methods and static variables?
What is array in java?
What package is math in java?
What are class members by default?