Technology Questions

Q:

Explain how to configure Trace switches in the application’s .config file.?

Answer

switches are configured using the .config file


<system.diagnostics>


<switches>


<add name="MyTraceSwitch" value="1" />


<add name="TraceSwitch2" value="1" />


</switches>


</system.diagnostics>


both are on.

Report Error

View answer Workspace Report Error Discuss

Subject: .NET

0 1805
Q:

What are pass by reference and passby value ?

Answer

Pass By Reference means the passing the address itself rather than passing the value. Passby Value means passing a copy of the value to be passed.

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 1805
Q:

What does isNaN function do?

Answer

It Return true if the argument is not a number.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1800
Q:

What is Constructor?

Answer

Constructor is not a special method.


Constructor is block of code that is executed automatically whenever object of the class is created.

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 1799
Q:

What is the use of tostring() method?

Answer

If we print any object by using println() or print() methods.


The println() or print() methods internally calls tostring() method and prints the return value of toString() method.

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 1799
Q:

What are JavaScript types?

Answer

Number, String, Boolean, Function, Object, Null, Undefined.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1798
Q:

What is the differnce among public, protected and package access data?

Answer

If we are not using packages and if we are not using inheritance then there is no difference among public, protected and package access data.

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 1798
Q:

What is the difference between Client side JavaScript and Server side JavaScript.

Answer

Client side java script comprises the basic language and predefined objects which are relevant to running java script in a browser. The client side java script is embedded directly by in the HTML pages. This script is interpreted by the browser at run time.


Server side java script also resembles like client side java script. It has relevant java script which is to run in a server. The server side java scripts are deployed only after compilation.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1796