Interview Questions

Q:

How does a try statement determine which catch clause should be used to handle an exception?

Answer

When an exception is thrown , the catch block of the try statement are examined in the order in which they appear. The first catch block that is capable of handling the exception is executed. The remaining catch blocks are ignored

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 1604
Q:

What are the new features provided in HTML5?

Answer

Some of the new features provided in HTML5 are:


- It provides support for local storage


- New form controls, like calendar, date, time, email, url, search


- <canvas> element is provided to facilitate 2D drawing


- The <video> and <audio> elements are provided for media playback


- New content-specific elements are provided. For e.g. <article>, <header>, <footer>, <nav>, <section>

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1603
Q:

What are windows object and navigator object in JavaScript?

Answer

Windows object is top level object in Java script. It contains several other objects such as, document, history, location, name, menu bar etc., in itself. Window object is the global object for Java script that is written at client-side.


Information pertaining to the client browser and system is returned by the navigator object of JavaScript. Navigator object is the top level object for all users.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1602
Q:

What is the purpose of creating partitions for a Windows operating system?

Answer

Creating partition may serve different purposes. The common reason is that a separate partition can be used to store data files so that when Windows needs to be reinstalled, the main partition can be formatted without fear of loosing data, which are stored on the other partition.

Report Error

View answer Workspace Report Error Discuss

1 1601
Q:

What does isNaN function do?

Answer

NaN stands for ‘not-a-number’. The function isNaN determines the argument or the value is a NaN. The function returns true if the argument is not a number, otherwise returns false.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1600
Q:

What are the different types of hostings that exist?

Answer

There are different types of hosting provided to upload and share their files using the web or Internet. 


- Free web hosting service: It provides limited services and offers it to companies in that it offers advertisements and other services with limitations. 


- Shared web hosting service: where a server shares many websites all placed at one place having the range from few to hundred. 


* The domains are most probably remains shared with a common pool of resources that is based on the server like RAM and CPU.


- Reseller web hosting: This is the web hosting that allows clients to provide web hosting to others. This includes individual domains that are listed using the affiliated with a reseller. 


- Virtual Dedicated Server: This is also known as also known as a Virtual Private Server (VPS). This provided the divided server resources in the virtual servers and the method that doesn’t relate directly to the hardware. 


- Home server: This is a single machine server that can be thought as a personal server that is used to host one or more web sites using the connection.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1599
Q:

What is the difference between creating a thread by extending Thread class and by implementing Runnable interface? Which one should prefer?

Answer

When creating a thread by extending the Thread class, it is not mandatory to override the run method (If we are not overriding the run method , it is useless), because Thread class have already given a default implementation for run method. But if we are implementing Runnable , it is mandatory to override the run method. The preferred way to create a thread is by implementing Runnable interface, because it give loose coupling.

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 1599
Q:

What are the multimedia features involved in making Android popular?

Answer

There is the demand for the rich multimedia that involves many features that are used till now to make the Android market more popular in all the phases. The application includes the following:



• Mixable audio effects – developer can easily create audio environments using the API key that is provided with it like creating equalization, bass boost, headphone feature, etc. The android provide the tools that can be used to mix the audio effects and apply it.



• There is also support for new media formats like VP8 open video compression format that uses a container format that can run on all the platforms and add the support for AAC and AMR encoding. The applications provided allow higher quality video to be captured.



• The application allows the access to multiple cameras that allows the use of APIs to include the camera and its properties in one. The platform provides the application to include the camera with high and low resolution.

Report Error

View answer Workspace Report Error Discuss

0 1598