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 is compiler and what its output.

624


Can one thread block the other thread?

595


Why lambda expression is used in java?

555


can used Protected Class outside Function.?

600


What is the method overriding?

602






What is java thread dump, how can we get java thread dump of a program?

557


What are conditionals and its types?

567


Explain creating threads by extending thread class ?

570


What is api in java?

518


Is there any difference between synchronized methods and synchronized statements?

563


When throws keyword is used?

572


What is the difference between hashmap and hashtable? What is an interface?

487


Hi.... I applied for the post of scientific officer/Engineer-SB(Programmer).Please post the syllabus and sample papers.

1495


What are memory tables?

595


How a string is stored in memory?

564