Interview Questions

Q:

What is the syntax to create the object?

Answer

new ClassName();


This expression creates object in heap area and returns that obj address. Here JVM creates object but JVM does not returns object original address. JVM returns duplicate address, duplicate address is also called as hashcode. 

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 1961
Q:

What is the use of Name based hosting?

Answer

- Name based is the virtual hosting that allows the virtual hosts to serve multiple hostnames that runs on single machine and having only one IP address.


- This is used when the web browser is used to request the resource from the server then the server respond using the hostname. 


- Web server uses HTTP protocol to respond to the requested hostname as the part of the request. 


- The server contains all the information of the website and the user that requests for the resources given. 


- Name based web hosting includes the resources and services that need to be given at the time of client’s request.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1960
Q:

What does INVEST stand for?

Answer

INVEST stands for Independent, Negotiable, Value, Estimable, Sized Appropriately and Testable. It is a tool designed to assist technical teams and deliver quality products.

Report Error

View answer Workspace Report Error Discuss

0 1958
Q:

How to determine the state of a checkbox using Javascript?

Answer

var checkedP = window.document.getElementById("myCheckBox").checked;

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1958
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 1957
Q:

How to Add a new column to an existing table?

Answer

New column can be added using the ALTER TABLE command as shown below:
Example:
ALTER TABLE employee ADD DateOfBirth date

Report Error

View answer Workspace Report Error Discuss

Subject: Oracle

0 1957
Q:

What is your Greatest Success?

Answer

This is a good question to highlight your achievements. Don't be smug or arrogant about the success of a project, especially if it was a team effort. You need to give credit to the team, too. You could say what you contributed to the total project and also give credit to others that helped in your success. Don't be overly modest, either.Here are some pointers:


1. Pick something that was clearly a success and highlight your skills.


2. Pick something recent. If you pick something twenty years ago, they are going to wonder what you have done lately.


3. Pick something important. You may have succeeded in many projects that are not that significant. 


4. Pick something easy to explain. If complicated, give the short version.


5. Be sure to explain what you learned from this success.

Report Error

View answer Workspace Report Error Discuss

0 1956
Q:

What are the three file types in NT ?

Answer

NTFS, FAT & FAT 32 are the file systems of NT.

Report Error

View answer Workspace Report Error Discuss

1 1955