Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


Sharada ananya
code
1 Answer(s)      3 years and a month ago
Posted in : Java Beginners


how to write this in java


Advertisement
View Answers

June 24, 2012 at 2:03 PM


do u mean this key word... then when ever u want to represent d current class object. just like following..

class A
    {
    int a=10;      //class parameter a
    public void abc(int a)     //passed parameter from main function a
    {
    System.out.println("a value of current class:"+this.a+"a value as an parameter"+a);
    }
    public static void main(String arg[])
    {
    abc(5);
    }
    }
    the above program gives result as .......a value of current class:10 a value as an parameter 5......
    why bcoz this.a represents class parameter and a represents passed parameter in this method.  


Related Tutorials/Questions & Answers:
code
code  code for android sample program
code
code    how to write this in java
Advertisements
Code
Code  code for connecting c lang to database
code for this is
code for this is  a b c d c b a a b c c b a a b b a a a code
code
code  please provide code for custom tags.by using currdate tag we need to get current date?please give me code
code
code   hi I need help in creating a java code that reminds user on a particular date about their festival. i have no clue of how to do it.. am looking forward to seek help from you
code
the correct code for a program.The output of the program is listed below...: {Block 5} ADDRESS-3: {San Juan} POST CODE:{6745} ENTER CODE (XX TO stop) CODE:{FF1} QUANTITY:{2} CODE:{TR4} QUANTITY:{1} CODE:XX INVOICE FOR YOUR ORDER Harry
code
code to create the RMI client on the local machine: import java.rmi.*; public... : "+e); } } } However, when the preceding code is executed it results... the correct code
code
code  i have four textboxes.whenever i click on up,down,left or down arrows then the cursor move to another textbox based on the key pressed.i want code for this in javascript
code
line of code to print the amount he should be paid as allowance
code
code  write a program to encrypt and decrypt the cipher text "adfgvx"   Hi Friend, Try the following code: import java.security.*; import javax.crypto.*; import javax.crypto.spec.*; import java.io.
JAVA code For
JAVA code For   JAVA code For "Traffic signals Identification for vehicles
c code
c code  c code for this formula x=(y-0.22z-072)4; where y=7.32 x=3.1 then ans x=23.9 end code for this   c code for this formula x=(y-0.22z-072)4; where y=7.32 x=3.1 then ans x=23.9 can any one end code
jsp code
jsp code  what are the jsp code for view page in online journal
stegnography code
stegnography code  code for the digital stegnographic technique for the encryption and decryption of image
example code
example code  code for displaying a list from another class on a midlet
Source code
Source code  source code of html to create a user login page
Code for a triangle.....
Code for a triangle.....   1 1 5 1 1 5 25 5 1 What is the source Code for above output
c code
c code  c code for this formula x=(y-0.22z-072)4; where y=7.32 x=3.1 then ans x=23.9 end code
JSF code
need jsf code that will populate combo box values from the database  Hi, i'm new on JSf,I need jsf code that will populate combo box values from the database when the form runs
Code for Pattern
Code for Pattern   * *** * * Please write the code of above program and please do not use in this string tokennizer, string buffer etc i mean to say that please use very simple method
Code for Pattern
Code for Pattern   * * * * * * * * Please write the code of above program and please do not use in this string tokennizer, string buffer etc i mean to say that please use very simple method
Code for Pattern
Code for Pattern   * * * * * * * * * * * Please write the code of above program and please do not use in this string tokennizer, string buffer etc i mean to say that please use very simple method
java code
java code  write a java code to convert hindi to english using arrays
JAVA CODE
JAVA CODE  JAVA SOURCE CODE TO BLOCK A PARTICULAR WEB SITES(SOCIAL WEB SITE
jsp code
jsp code  i want health management system project code using jsp.its urgent
Advertisements
 

 

 

DMCA.com