MCQs > IT & Programming > DotNet Using C# > Which one will be executed without error? Public Class Fruit End Class Public Class Apple Inherits Fruit End Class

DotNet Using C# MCQs

Which of the following will be executed without error?
Public Class Fruit
End Class
Public Class Apple
    Inherits Fruit
End Class