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 are "methods" and "fields"?
How many bytes is a url?
Can we override constructor in java?
Explain the concept of hashtables?
What are the important features of Java 9 release?
What is the difference between quicksort & mergesort? When should they be used? What is their running time?
Is 0 a real number?
What are triggers in DB? Explain their types. How do they work?
What is the tradeoff between using an unordered array versus an ordered array?
What is a values collection view ?
What is purpose of applet programming?
What is integer valueof?
What is a map in java?
How many JVMs can run on a single machine and what is the Just-In-Time(JIT) compiler?
How do you sort data in java?