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 java program to reverse string without using api?
Is void a type?
What are streams?
Can an interface have a class?
What is the difference between overriding and overloading in OOPS.
Is a copy constructor?
Can we declare a class as static?
can java object be locked down for exclusive use by a given thread? : Java thread
what do you understand by synchronization? : Java thread
How do you define a variable?
take an array with -ve and +ve value both.find out the nearest value of 0(zero).if two values are same like(-2 and +2)then extract +2 is nearest of 0(zero).
What is the purpose of assert keyword used in jdk1.4.x?
Which is faster set or list in java?
What is bitwise complement?
Write a program to print fibonacci series up to count 10.