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 does char mean in c#?
List down the commonly used types of exceptions in .net
What is better C# or VB.NET?
Is enum a value type c#?
Which attribute adorn a test class to be picked up by the NUnit GUI in the NUnit test framework?
What is the difference between iqueryable and ienumerable?
Can we make a Static Constructor Parameterized? Give Reason with your answer
What are the extension methods in c#?
Explain the functionalities of satellite assembly?
What is difference between dictionary and hashtable in c#?
What is list array in c#?
What are Regex / regular expressions ?
What is meant by enumerable in c#?
What are the new features in c# 2.0?
Is c# and .net same?