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
What are the different ways of creating thread?
What is flag in python?
What is console based application in java?
How do generics work in java?
How can you read content from file in java?
Why do we need strings in java?
What is the size of int in 64-bit jvm?
can java object be locked down for exclusive use by a given thread? Or what happens when a thread cannot acquire a lock on an object? : Java thread
Can we use synchronized block for primitives?
What are thread local variables?
How will you invoke any external process in java?
What is a nested structure?
What is method reference in java?
What is api data?
Are private methods final?