Technology Questions

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 1654
Q:

How does traffic measured in hosting platform?

Answer

- The traffic can be measured using the size of the files that are transferred from one place to another (server-client). 


- It can also be measured by the size of the file that is being requested by the client from the server. 


- The number of visitors arriving on the website also involve in the measurement of the traffic using the web hosting platform. 


- The advertisements of the sites take more bandwidth to allow more number of users to be on the website. 


- More number of users provides higher traffic on the website thus it requires more bandwidth on the web hosting sites.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1651
Q:

Whats a struct?

Answer

A struct is a special C data type that encapsulates other pieces of data into a single cohesive unit. Like an object, but built into C.

Report Error

View answer Workspace Report Error Discuss

0 1650
Q:

What is the Use of SPAN in HTML and give one example?

Answer

The <span> tag is used to group inline-elements in a document.


The <span> tag provides no visual change by itself.


The <span> tag provides a way to add a hook to a part of a text or a part of a document.


 


EX :


<p>My Car Color is <span style="color:blue">blue</span> </p>

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1648
Q:

What is the use of Infinite file in Web security?

Answer

- Infinite file consists of random bits of code that is stored in /dev/random file used to generate the cryptographic keys. 


- Infinite file consists of the source of infinite data that can be used to provide the response in easy manner. 


- Web server consists of the file that is received by the server in this format GET //dev/random HTTP/1.0. 


- Web server provides the continuous data that can be read from /dev/random/ before the web server can run out of the memory. 


- The server crashes out in case it runs out of the memory due to the infinite file type and it is very essential in case of the web security.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1647
Q:

How will you launch an Activity within you application?

Answer

For launching an application, we will need to create an intent that explicitly defines the activity that we wish to start. For example:


Code


        Intent intent = new Intent(this, MyTestActivity.class);


        startActivity(intent);

Report Error

View answer Workspace Report Error Discuss

0 1647
Q:

Explain Non Breaking space in HTML.

Answer

When we add many spaces in the content then HTML remove all space except one space this is Non Breaking Space. To overcome this problem we use “&nbsp”. Suppose we want to add 3 space between two words then we have to use &nbp three time. 


 

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1646
Q:

What is XML?

Answer

XML, Extensible Markup Language, is an open, text based markup language that provides structural and semantic information to data. XML is a metalanguage that can be used to create other language. It is used to structure and describe data that can be understood by other applications. Using XML, we can separate the user interface from data.


Features of XML :


- XML is a generalized markup language that means one can define his/her own tag sets.


- A valid XML document contains rules and is self-describing.


- The rules that are found in DTD allow the documents to be validated.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1644