Explain class A{}
class B{}
class C{}
all the three classes are saved in a single file name, what
the name should i provide to the file ,in what file name
should i run the program? Ple Explain

Answer Posted / dipil t t

class A{},class B{}and class C{} Shold be public then we
can select main class name is the file name.

Is This Answer Correct ?    1 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the abstraction?

799


How to disable caching on back button of the browser?

756


What is finalize method?

828


Why can't we override private static methods?

740


Differentiate between overriding and overloading cases?

806


Where are register variables stored?

815


Write a java program to print fibonacci series?

757


how does the run() method in runnable work? : Java thread

705


What is the vector class in java programming?

779


What is a type parameter in java?

762


What is style and indentation?

773


What are the library functions in java?

791


What is e in java?

737


Write an algorithm for quick sort?

811


What is a bufferedreader?

744