AJAX Interview Questions & Answers

Showing 10 of 193 questions | Page 8

Technical interview questions and answers are critical when preparing for an AJAX Interview because companies want to evaluate your understanding of asynchronous communication, XMLHttpRequest, JSON handling, DOM manipulation, and interactive web applications. AJAX is considered a core concept in modern web development, and many companies include it as part of their technical rounds for frontend and full-stack developer roles. Organizations like TCS, Infosys, Wipro, Cognizant, and Capgemini frequently ask AJAX-related questions to check whether candidates can build dynamic, responsive, and efficient web pages. This guide includes commonly asked AJAX interview questions with clear explanations to help freshers and job seekers strengthen their web development fundamentals. These questions will improve your preparation for placement interviews, coding rounds, and real-time project discussions.

Showing 10 of 193 questions

71. What does the keyword virtual mean in the method definition?

The method can be over-ridden.

72. What is the difference between the System.Array.CopyTo() and System.Array.Clone()?

The first one performs a deep copy of the array, the second one is shallow.

73. What is the difference between const and static read-only?

The difference is that static read-only can be modified by the containing class, but const can never be modified and must be initialized to a compile time constant. To expand on the static read-only case a bit, the containing class can only modify it: -- in the variable declaration (through a variable initializer). -- in the static constructor (instance constructors if it's not static).

74. What does the parameter Initial Catalog define inside Connection String?

The database name to connect to.

75. What is the difference between System.String and System.StringBuilder classes?

System.String is immutable; System.StringBuilder was designed with the purpose of having a mutable string where a variety of operations can be performed.

76. What is the top .NET class that everything is derived from?

System.Object.

77. Can you allow class to be inherited, but prevent the method from being over-ridden?

Yes, just leave the class public and make the method sealed

78. Can you change the value of a variable while debugging a C# application?

Yes, if you are debugging via Visual Studio.NET, just go to Immediate window.

79. Are private class-level variables inherited?

Yes, but they are not accessible, so looking at it you can honestly say that they are not inherited. But they are.

80. Can you inherit multiple interfaces?

Yes. .NET does support multiple interfaces.
Questions and Answers for Competitive Exams Various Entrance Test