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



Subscribe to Tutorials

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. hi everbody. i need to extract a output from one j
View Tutorial          By: keerthi at 2010-10-29 13:38:28

2. Please
Can you help me ^-^
I use th

View Tutorial          By: HNO11 at 2011-03-28 11:08:28

3. i am getting an exceptions... pls help me..

View Tutorial          By: FEBI at 2014-03-08 06:01:44

4. Thank you......
View Tutorial          By: Suvadip at 2013-04-19 05:11:51

5. Thanks for this explanation. I'm not sure whether
View Tutorial          By: Venkatesh Challa at 2013-03-29 04:35:21

6. Thanks very use full ..
View Tutorial          By: bal mukund at 2012-08-21 05:42:36

7. i wrote ocjp exam on oct 27,2012. But still i didn
View Tutorial          By: Yashwinkkumar R at 2013-02-17 09:05:29

8. So I appreciate this website, however... would it
View Tutorial          By: Christina at 2013-02-06 16:46:12

9. Thank you very much!!!

But I have t

View Tutorial          By: Gemis at 2009-04-14 02:37:08

10. nice tutorial man !
View Tutorial          By: yash at 2012-11-10 05:08:31