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, 5781👍, 0💬
Popular Posts:
1. The basics first, please define the web in simple language? How is it connected with internet? Wh...
What does static variable mean? There are 3 main uses for static variables: If you declare within a ...
If we have two version of same assembly in GAC how do we make a choice ? OK first let’s try to under...
What is shadowing ? When two elements in a program have same name, one of them can hide and shadow t...
What is the purpose of Replication ? Replication is way of keeping data synchronized in multiple dat...