Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

When should I use a singleton?

981


What are generic methods?

912


What are the types of strings?

980


What is multithreading in java?

1003


What technique is carried out to find out if a particular string is empty?

972


If I don't provide any arguments on the command line, then what will the value stored in the string array passed into the main() method, empty or null?

1201


What is the difference between a method and a function in alice?

1091


What is string value?

1088


Write a program to solve producer consumer problem in java?

949


What is compiler and what its output.

1076


What is the purpose of a volatile variable?

975


If try block is successfully executed, Then Is Finally block executed?

1037


Can interface be private in java?

945


How to split arraylist elements in java?

1098


Can we declare the static variables and methods in an abstract class?

938