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, 6037👍, 0💬
Popular Posts:
How To Get the Uploaded File Information in the Receiving PHP Script? Once the Web server received t...
Can you have virtual functions in Java? Yes, all functions in Java are virtual by default. This is a...
What is a delegate ? Delegate is a class that can hold a reference to a method or a function. Delega...
What is the difference between Session State and ViewState? ViewState is specific to a page in a ses...
Write an equivalent expression for x%8? x&7