Comment on Tutorial - this Pointer in C++ By Jagan



Comment Added by : Ajay Khowal

Comment Added at : 2012-07-13 16:25:42

Comment on Tutorial : this Pointer in C++ By Jagan
Hey guys i've the simple one....
class thiskeyword
{
int x,y;
void getdata(int x , int y)
{
this.x=x;
this.y=y;
}
void display()
{
System.out.println(x);
System.out.println(y);
}
public static void main(String s[])
{
thiskeyword t=new thiskeyword();
t.getdata(10,11);
t.display();
}
}


View Tutorial



Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. it is a good example to understand.
View Tutorial          By: nivedha at 2011-07-12 05:15:39

2. Thanks
View Tutorial          By: Akhilesh at 2010-04-05 11:31:17

3. I tried the first option i.e for refresh use Forwa
View Tutorial          By: dinesh at 2009-07-31 05:31:23

4. Hi IDK,
You close any applications includin

View Tutorial          By: Steven at 2008-12-30 03:14:33

5. excellent
View Tutorial          By: shamim at 2011-07-08 02:39:31

6. There is no need to fight. ...whatever ku is sayin
View Tutorial          By: saurabh at 2009-07-30 15:19:49

7. Thanks and easy to understand.....impressive logic
View Tutorial          By: Dj at 2009-11-26 13:33:34

8. Very useful n understandable. More understandable
View Tutorial          By: Kiran at 2015-08-27 06:13:00

9. i Want the Flow Chart and code for the mobile Cale
View Tutorial          By: Sudip Khatiwara at 2010-03-15 04:10:41

10. hi, how do i turn it into a gui with swing allowin
View Tutorial          By: psychicjava at 2011-02-06 13:18:08