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
What are the data types supported by java?
What is java thread dump, how can we get java thread dump of a program?
What is the difference between the jdk 1.02 event model and the event-delegation model introduced with jdk 1.1?
What do you mean by Hash Map and Hash Table?
Explain how to convert any java object into byte array.
What does provide mean construction?
What is set string?
Differences between external iteration and internal iteration?
Explain treeset?
What are the advantages and disadvantages of reference counting in garbage collection?
What is the difference between @before and @beforeclass annotation?
Can constructor be static or final?
What are the types of arrays in java?
Is a string literal?
What does it mean to flush a file?