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
What is passing parameters in java?
What is java util collection?
What is the functionability stubs and skeletons?
Is age discrete or continuous?
What are alternatives to java serialization?
What is visibility mode?
What is static block?
What is string in java? String is a data type?
What is data string?
Are constructors methods?
What is overloading and overriding in java?
What are the three parts of a lambda expression?
Why static functions are used?
What is multiple inheritance? Is it supported by java?
Can we override the overloaded method?