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

What are peerless components in java programming?

575


What is a string what operation can be performed out with the help of a string?

502


What are wrapper classes in java?

591


What is the meaning of immutable regarding string?

515


Which method must be implemented by all threads?

715






What is the memory leak in java?

520


What is a method header?

542


What is a platform?

535


Is it correct to say that due to garbage collection feature in java, a java program never goes out of memory?

568


Explain covariant method overriding in java.

538


Tell me how many ways are there to initialise an integer with a constant.

636


Differentiate between vector and array list.

625


What is a get method?

525


Can a class be private or protected in java?

543


Explain try and catch keywords in java?

618