abstract class A{
int list []=new int [100];
A(int x,int y){
rondom n=new rondom();
for (int i==;i<100;i++);
list [i]=x+r.next int(y-x+1);
abstract sort ();
abstract binary sarch(int temp);
class B extends A{
Answer Posted / sravan
in the above program he takes the parameterized constructor for any constructor we must and should create object but in that program object creation is not done so it gives error it is a compilation error
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the difference between Error, defect,fault, failure and mistake?
What are runtime exceptions?
Can we make main() thread as daemon?
What is meant by bytecode?
Why java is secure? Explain.
What is the use of join method?
Write a java program for binary search?
What language is java written?
How to retrieve data from database in java using arraylist?
What is meant by method?
Why java doesn’t support multiple inheritances?
Do I need java for windows 10?
I am a fresher and know core java, c languge, html, css etc if I am illegible for any job then send it on my email tatranakshay276@gmail.com
What is instanceof keyword?
What is an object in java and how is it created?