Can we create instance for Abstract class?
Answer Posted / lakshminarayana golla
hi manjitt can any body explain me about this below program?
it is executing successfully without any errors.
can u explain me what is the concept hide in this program
please.....
abstract class aa {
public abstract void main(String[] args);
}
class aaa {
public static void main(String[] args)throws Exception{
Object x = Class.forName("aaa").newInstance();
System.out.println(x);
}
}
Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
What is the use of ienumerable?
What does args mean in c#?
Does console.writeline() stop printing when it reaches a null character within a string?
What is difference between array and arraylist c#?
Who introduced c#?
What is the max value of int32 in c#?
What's your approach to fetch static data in your windows form application?
What are predicates in c#?
What is the use of private constructor in c#?
Explain the difference between class and interface in .net?
Compare and contrast between the System.Array.CopyTo() and Clone()?
What is int64 in c#?
What is difference between private and protected?
Define delay signing?
What are events in C#?