?
Solved

I have a few questions that I am trying to understand.Please help.

Posted on 2005-02-24
2
Medium Priority
?
169 Views
Last Modified: 2010-04-16
What is an abstract class?
What is an interface class?

Can you explain them so an laymen can understand?

What is a state server?

A virtual constructor?

What is the difference between Server.Transfer and Response.Redirect? Why would I choose one over the other?

Any help would be great.I cant learn if I dont ask questions right!
Sincerely.
Matt
0
Comment
Question by:mathieu_cupryk
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 16

Accepted Solution

by:
OliWarner earned 2000 total points
ID: 13399949
This is more Java than .net, but anyway...

An abstract class is one that MUST be inherited. This is usually because creating an instance of it on its own would do nothing. If you had an abstract class Vehicle you couldn't make an instance of it because you'd need to make a class called Car that inherits it for it to make any sense.

An interface class is one that can be used to make sure guidelines are adhered to. The interface states which functions must be declared. it also goes into polymophism, but I dont think i can explain that here.

Virtual constructors(and more) explained better than I can: http://www.manualy.sk/c++faq/virtual-functions.html

Server.Transfer and Response.Redirect:
A RR sends a 430 code to the client browser with a URL attached. The client loads the URL instantly.
A ST makes the server stop what its doing and move onto another script. The client knows nothing of this transfer and it thinks its on the same script as before. These are useful for when you want to fake images with script output as you can transfer the browser from the .jpg to the output of the script without the user knowing any different.


If you're having problems with inheritance, i wouldnt say .net is the best thing to start learning it in. Java is the safest playbox for that sort of stuff.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Although it is an old technology, serial ports are still being used by many hardware manufacturers. If you develop applications in C#, Microsoft .NET framework has SerialPort class to communicate with the serial ports.  I needed to…
This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Suggested Courses

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question