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

Answer Posted / neelanand

Since the program is compiled, we can save it with any
filename with .java extension eg. abc.java

but if you want to use it into other program we must save
it with the A.java

Is This Answer Correct ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is this keyword in java?

556


What are the 4 versions of java?

551


What is Applet Stub Interface ?

1957


What is double in java?

504


What does system out println () do?

549






What are the three parts of a lambda expression?

522


what is collatration?

2735


What are access specifiers available in java?

569


Why arraylist is used in java?

537


How do you sort an array in java?

531


FOR EXAMPLE WE R HAVING TWO LIST ELEMENTS ..BOTH LISTS CONTAINS ID,NAME,PLACE ..I NEED TO COMPARE BOTH IDS IN TWO LISTS,IF ID'S R SAME MEANS WE HAVE ADD THE DETAILS(LIKE NAME,PLACE) TO MAP...HOW IS POSSIBLE ?CAN ANY ONE SUGGEST?

2622


Explain what pure virtual function is?

583


What is difference between == equals () and compareto () method?

519


What is string pool?

619


Is an array a vector?

544