Interview Questions

Q:

What is the difference between an Interface and an Abstract class?

Answer

An abstract class can have instance methods that implement a default behavior. An Interface can only declare constants and instance methods, but cannot implement default behavior and all methods are implicitly abstract. An interface has all public members and no implementation. An abstract class is a class which may have the usual flavors of class members (private, protected, etc.), but has some abstract methods.

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 1652
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 1651
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 1649
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 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 1648
Q:

Demand is said to be inelastic when

A) Percentage change in demand is less than the percentage change in price of the good B) Percentage change in demand is greater than the percentage change in price of the good
C) Percentage change in demand is equal to the percentage change in price of the good D) None of the above
 
Answer & Explanation Answer: A) Percentage change in demand is less than the percentage change in price of the good

Explanation:

Demand is said to be inelastic, when the demand for the good doesn't change much or it is negotiable when the price of the good changed.

Report Error

View Answer Report Error Discuss

Filed Under: Finance
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

1 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 1647