Answer Posted / ashokmail
'this' operator is used to denote the current working
object.
EX:
Class student{
public student(){
this.addStudent();
}
public void addStudent(){
// to do code here
}
public static void main(String args[]){
new student();
}
}
'this' in the constructor is used to denote the current
working object student...
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
what is the use of pojo (plain old java objects)? how it is interact with crystal reports? pls urgent
Why can we not override static method?
Explain about static imports in java?
What is the map interface in java programming?
Difference between stack and queue?
What is %02d?
What is pojo class in java?
What is a class object?
What is a singleton in genetics?
How to add menushortcut to menu item?
What Is Composition?
How java uses the string and stringbuffer classes?
What is the difference between path and classpath variables?
How many bytes is a string?
What are thread safe functions?