Interview Questions

Q:

If super class ref is pointing sub class object then by using super class ref is it possible to call sub class newly defined method?

Answer

yes if the method is ovreriding method


no if the method is not overriding method

Report Error

View answer Workspace Report Error Discuss

Subject: Java

143 2236
Q:

What is diamond problem?

Answer

The diamond problem is an ambiguity that can occur when a class multiply inherits from two classes that both descend from a common super class

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 2234
Q:

What is encapsulation?

Answer

Encapsulation describes the ability of an object to hide its data and methods from the rest of the world 

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 2233
Q:

What are the reasons for slow loading of the web page?

Answer

- The web pages that are loading slowly might be using heavy scripts or might be getting loaded on an overloaded server. 


- If the content like flash is used then the web page performs really slowly in comparison to the normal pages that get created. 


- If the caching is inactive on the web browsers and the same web page is getting loaded again and again then the performance get degraded.


- Web pages load slowly due to the content on that page as if it is text it loads faster then the site that is made up of large photographs. 


- It takes longer time for a picture to get rendered and the transmission time also remains higher then the text.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 2232
Q:

What does coalescing a tablespace do?

Answer

Coalescing is only valid for dictionary-managed tablespaces and de-fragments space by combining neighboring free extents into large single extents.

Report Error

View answer Workspace Report Error Discuss

3 2231
Q:

Where can you define the icon for your Activity ?

Answer

Icon for an Activity is defined in the manifest file.


Code


<activity android:icon="@drawable/app_icon" android:name=".MyTestActivity"></activity>


...

Report Error

View answer Workspace Report Error Discuss

1 2230
Q:

What is an Interactive Report?

Answer

An Interactive report allows the user to participate in retrieving and present data at each level.while classical report doesn't have access to interact.

Report Error

View answer Workspace Report Error Discuss

Subject: SAP

0 2230
Q:

What is a .htacces file

Answer

 .htaccess is a configuration file running on Apache server.These .htaccess file used to change the functionality and features of apache web  server .

 e.g   .htaccess file used for url rewrite .

         .htaccess file used to make the site password protected.

         .htaccess file can restrict  some ip addresses ,so that on restricted ip adresses  site will not open.

Report Error

View answer Workspace Report Error Discuss

Subject: PHP

0 2230