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:
Can you have virtual functions in Java?
Can you have virtual functions in Java?
✍: Guest
Yes, all functions in Java are virtual by default. This is actually a pseudo trick question because the word "virtual" is not part of the naming convention in Java (as it is in C++, C-sharp and VB.NET), so this would be a foreign concept for someone who has only coded in Java. Virtual functions or virtual methods are functions or methods that will be redefined in derived classes.
2012-05-16, 2928👍, 0💬
Popular Posts:
Can you explain in brief how the ASP.NET authentication process works? ASP.NET does not run by itsel...
What is the significance of Finalize method in .NET? .NET Garbage collector does almost all clean up...
Can you explain why your project needed XML? Remember XML was meant to exchange data between two ent...
How is the MVC design pattern used in Struts framework? In the MVS design pattern, there 3 component...
Which bit wise operator is suitable for turning on a particular bit in a number? The bitwise OR oper...