MCQs > IT & Programming > Web Services > Refer to the following statements and identify the lines that are invalid:

Web Services MCQs

Refer to the following statements and identify the lines that are invalid:

1. <%@ Service Class="TestClass" Language="C#" %>


2. using System;

3. using System.Web.Service;


4. public class TestClass {


5.   [WebMethod]

6.     public int Add( int a, int b)

7.     {

8.          return a+b;

9.     }

10. }

Answer

Correct Answer:

line 3


Explanation:

Note: This question has more than 1 correct answers

Note: This Question is unanswered, help us to find answer for this one

Web Services Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Web Services Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it