Technology Questions

Q:

How to set breakpoints?

Answer

Setting up the break points:



  1.  Go to the line where you need to mark the breakpoint.

  2.  Click with mouse on left corner margin of that line.

  3.  Another way is to press F9

Report Error

View answer Workspace Report Error Discuss

Subject: .NET

0 1870
Q:

What is Constructor?

Answer

Constructor is not a special method.


Constructor is block of code that is executed automatically whenever object of the class is created.

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 1870
Q:

Can we compile a java program without main?

Answer

Yes, we can. In order to compile a java program, we don't require any main method. But to execute a java program we must have a main in it (unless it is an applet or servlet). Because main is the starting point of a java program.

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 1868
Q:

What needs to be taken into consideration to host a website?

Answer

- To host a website a platform needs to be decided using which the hosting can be made simpler. 


- The specification needs to be determined before hosting the website and choosing the hosting platform. 


- The choice of operating system needs to be clear in choosing the website hosting services and the resources that the particular hosting platform requires need to be known. 


- The web hosting platform requires lots of services that need to be decided before hosting the website on the web.


- The space and the cost need to be kept minimum and according to that the choice has to be made between hosted or shared platforms.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1866
Q:

What are the ways through which the files can be transferred to server?

Answer

- Files can be transferred to the server by using the FTP protocol also known as File Transfer Protocol. 


- FTP is used as a standard network protocol that transfers the file from one computer to another computer using the TCP protocol network.


- This uploads the pages and other documents that are stored in private disk to the public web hosting server. 


- FTP is used on a client server architecture that allows different controls and data connections between the client and the server. 


- FTP uses clear-text sign in protocol that allows the client to use the user name and password for authentication purpose.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1865
Q:

What is top level class?

Answer

Top level class is also called outer class. It is not defined inside any class.


Ex:


class A {  //top level class


 


}

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 1863
Q:

What is CSS selector?

Answer

- Basically it is a string that identifies the elements to which a particular declaration or set of declarations will apply. 


- It can also be referred to as a link between the HTML document and the style sheet. 


- It is equivalent of HTML elements.


For example : 


A {text-indent: 12pt}


Here, the selector is A, which is called as type selector.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1861
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 1860