package q23;
public class App {
public int x = 100;
public static void main(String[] args) {
int x = 1000;
App t = new App();
t.myMethod(x);
System.out.println(x);
}
public void myMethod(int x) {
x++;
System.out.println(x);
System.out.println(this.x);
}
}
// Result:
// 1001
// 100
// 1000
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
SrinivasJasti
2 weeks, 3 days agoxplorerpj
6 months, 4 weeks agojames2033
10 months, 4 weeks agoTojose
1 year ago