Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
Defining Abstract Classes
How to define an Abstract class?
✍: FYIcenter
Defining an abstract class is done using the keyword "abstract". Here is an example of abstract class:
abstract class MyAbstract {
protected String myString;
public String getMyString() {
return myString;
}
public abstract string getMyStringInYourWay();
}
2007-03-03, 5925👍, 0💬
Popular Posts:
What is a delegate ? Delegate is a class that can hold a reference to a method or a function. Delega...
How Are Vertical Margins between Two Block Elements Collapsed? - CSS Tutorials - Understanding Multi...
.NET INTERVIEW QUESTIONS - Can we use events with threading ? Yes, you can use events with thread; t...
How do you locate the first X in a string txt? A) txt.find('X'); B) txt.locate('X'); C) txt.indexOf(...
How can I execute a PHP script using command line? Just run the PHP CLI (Command Line Interface) pro...