in which name u save the file,its the program compile?
Answers were Sorted based on User's Feedback
Answer / 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|
Answer / jasbir yadav
We can save the file as A.java
|Is This Answer Correct ?||5 Yes||1 No|
Answer / 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|
Answer / amulkumar
We can save the file using any name;
A.java or B.java
|Is This Answer Correct ?||3 Yes||3 No|
Answer / venkat
We can sava it as any class name in it. But it will not
inorder to the without of mainclass.
|Is This Answer Correct ?||1 Yes||2 No|
Answer / kalpana
Inner classes cannot have static declarations
|Is This Answer Correct ?||2 Yes||6 No|
What is super?
What is java used for?
How the elements are organized in GridLayout?
write SQL command for table employee where print first name or last name start like "A" and who is working in domain(angular js,java,dotnet)
Can you inherit a constructor java?
What is use of super keyword in java?
Can we have two methods in a class with the same name?
Define nashorn in java8.
Which api is provided by java for operations on set of objects?
What are extraneous variables examples?
basic difference b/w ALL types of JDBC driver.
What is Remote Interface ?