Technology Questions

Q:

How would you automatically transfer your visitors to a new web page?

Answer

- You can do it with the help of meta tag mentioned below: 


<META HTTP-EQUIV="Refresh" CONTENT="2"; URL="https://www.yoursite.com"> 


- Place this tag between <HEAD></HEAD> . 


- It will load yousite.com in 2 seconds.

Report Error

View answer Workspace Report Error Discuss

0 1701
Q:

What is Auto boxing and unboxing?

Answer

Autoboxing is the process of converting a primitive type data into its corresponding wrapper class object instance.


Example:


Integer number = new Integer (100); // number is now refers to the object 100


 


Unboxing is the process of converting a wrapper instance into a primitive type.


Example: 


Integer number = new Integer (100); 


int num = number;// without type casting number would be changed into int type

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 1701
Q:

What is a ResultSet ?

Answer

A table of data representing a database result set, which is usually generated by executing a statement that queries the database.


 


ResultSet object maintains a cursor pointing to its current row of data. Initially the cursor is positioned before the first row. The next method moves the cursor to the next row, and because it returns false when there are no more rows in the ResultSet object, it can be used in a while loop to iterate through the result set.

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 1699
Q:

Explain Not Null constraint.

Answer

Oracle NOT NULL is used on a column to ensure that the value for that column can never be NULL.
Example:
Below, the constraint is that the id should never be NULL. If it is, oracle throws an error.
create table employee ( id number NOT NULL, Name varchar(200) );

Report Error

View answer Workspace Report Error Discuss

Subject: Oracle

0 1698
Q:

Why interface data is static?

Answer

Interface data is static data why bcoz interface supports multiple inheritance.


if inteface data is non-static then there is chance for replication of the data (bcoz of replication of data ambiguity problem occurs )

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 1698
Q:

What are the 3main tasks of JVM?

Answer

The JVM performs three main tasks:


• Loads code


• Verifies code


• Executes code

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 1697
Q:

What is a CDATA section in XML?

Answer

CDATA - (Unparsed) Character Data


The term CDATA is used when you dont want some text data to be parsed by the XML parser.


A CDATA section starts with "<![CDATA[" and ends with "]]>": 

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1690
Q:

What is the use of Virtual Domain?

Answer

- Virtual domain is the domain of the client on which they can run their applications without having to install the server or hardware. 


- The software need not to be installed physically on the server as it can be done using the local repositories and maintaining the domain locally. 


- Using the virtual domain the server storage space is utilized efficiently and the data can be made more secure before publishing it online. 


- Virtual domains are used to represent the personal Internet web address domain name and can be made with your personal one. 


- Virtual domain provides more security in terms of using your own personalized domain and allows the access to the resources that are on web.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1690