1.4 What is the error in the following class definition?
abstract class MyTest
{
abstract sum (int x, int y) { }
}
A) Class header is not defined properly
B) Constructor is not defined
C) Method is not defined properly
D) No error
1.4 What is the error in the following class definition?
abstract class MyTest
{
abstract sum (int x, int y) { }
}
A) Class header is not defined properly
B) Constructor is not defined
C) Method is not defined properly
D) No error
Leave a Reply
You must be logged in to post a comment.