Question & Additional Information
 
Can you declare an override method to be static if the original method is not static?
Add to My IQ
 

 | 
Inappropriate
Answer Title
Answer
No.  The signature of the virtual method must remain the same.  (Note: Only the keyword virtual is changed to keyword override)
Question Tag Title
Tags
Question Asked At Title
Asked At
None
Question Job Title
Job Titles


Check out our newest job listings!

Post a Job! $49 for 60 days



Your Name:
Add your comment text
 
Related Questions
Related Questions
Flag this interview question as inappropriate Inappropriate
See Answer
Methods are for objects functions are regular routines
Create Date
:
Thursday, October 16, 2008
Tags
:
Asked At
:
None
Job Positions
:
None
Click here to improve the Interview Question, Answer and other fields.
Comments (0) :
Goto add your comment on the Question 
Flag this interview question as inappropriate Inappropriate
See Answer
There are 3 main uses for the static.
1. If you declare within a function:
It retains the value between function calls

2.If it is declared for a function name:
By default function is extern..so it will be visible from other files. if the function declaration is as static, it is invisible for the outer files

3.Static for global variables:
By default we can use the global variables from outside files If it is static global..that variable is limitied to with in the file
Create Date
:
Tuesday, September 11, 2007
Asked At
:
None
Job Positions
:
None
Click here to improve the Interview Question, Answer and other fields.
Comments (1) :
1.
anujtripathi
Thursday, October 16, 2008 10:42 AM
Gud Xplanation !
Flag this interview question as inappropriate Inappropriate
See Answer
System is a predefined final class, out is a PrintStream object and println is a built-in overloaded method in the out object.
Create Date
:
Sunday, September 02, 2007
Asked At
:
None
Job Positions
:
None
Click here to improve the Interview Question, Answer and other fields.
Comments (1) :
1.
pavan
Thursday, May 29, 2008 10:22 PM
System is a predefined final class in java
out is a PrintStream object
Join the centers of the original and the removed rectangle. It works for cuboids too!
Create Date
:
Wednesday, May 14, 2008
Tags
:
Asked At
:
None
Job Positions
:
Click here to improve the Interview Question, Answer and other fields.
Comments (0) :
Goto add your comment on the Question 
The color of the bear is trivial. The possible solutions to it are interesting. In addition to the trivial north pole and circle near north pole solutions, there is an additional circle near south pole solution.
Create Date
:
Wednesday, May 14, 2008
Tags
:
Asked At
:
None
Job Positions
:
Click here to improve the Interview Question, Answer and other fields.
Comments (0) :
Goto add your comment on the Question 
Flag this interview question as inappropriate Inappropriate
See Answer
Deletes it from the memory.
To Do: answer better.  The current answer is not entirely correct.
Create Date
:
Tuesday, May 13, 2008
Tags
:
Asked At
:
None
Job Positions
:
Click here to improve the Interview Question, Answer and other fields.
Comments (0) :
Goto add your comment on the Question 
 
• More Related Questions: