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 / cool_duzz
The name of the file should be the same as the class having
public access modifier.. otherwise u can put it the way u
like. 3 .class files will be generated by compiler.
| Is This Answer Correct ? | 5 Yes | 5 No |
Post New Answer View All Answers
What is the use of jtable?
What is considered an anti pattern?
What is a databasemetadata?
Explain heap sort?
Can we declare a class as abstract without having any abstract method?
What is string data?
What is java english?
Write a program to print all permutations of string?
What’s the difference between the methods sleep() and wait()?
How to sort an unsorted array in java?
What do you mean Abstraction in java?
What is api in java?
What are the basic concepts of OOPS in java?
How do you sort words in java?
What are the string methods in java?