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 / anandhi
class a
{
}
class b extends a
{
}
class c
{
public static void main(String arg[])
{
b b1=new b();
....
}
}
so file name c...
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
Write a code to show a static variable?
What are the important features of Java 9 release?
Explain about arraylist?
What is field name?
What are exception handling keywords in java?
Explain the differences between abstraction and encapsulation?
Can static methods access instance variables in java?
java Technical questions asked by JPMC
Explain java code for recursive solution's base case?
Are arrays classes in java?
Explain access modifiers in java.
Can a main method be declared final?
Is treeset sorted in java?
What is high level language in computer?
What are different data types?