class A{
class B{
}
}
in which name u save the file,its the program compile?

Answer Posted / vipul

We can save the program by any name either A or B,

Program will compile but will not run......

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the differences between wait() and sleep()?

541


What variables are stored in stack?

532


What is getclass () getname () in java?

683


Does treeset allow null in java?

516


What are the types of literals?

567






What is sizeof in java?

559


What is a nested list?

524


What is hotjava?

561


Why java is made?

571


Does google use java?

542


Which is better stringbuffer or stringbuilder?

533


What is use of static in java?

534


What is use of static method?

536


How will you get the platform dependent values like line separator, path separator, etc., ?

590


How can you add and remove nodes in jtree?

614