Categories:
.NET (357)
C (330)
C++ (184)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (2)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Struts (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, 6013👍, 0💬
Popular Posts:
.NET INTERVIEW QUESTIONS - How can you avoid deadlock in threading? A good and careful planning can ...
What will happen in these three cases? if (a=0) { //somecode } if (a==0) { //do something } if (a===...
What is hashing? To hash means to grind up, and that's essentially what hashing is all about. The he...
If we have the following in a Java code: String s="abc"; String s2="abc"; Then what will be output o...
Explain in detail the fundamental of connection pooling? When a connection is opened first time a co...