What is the output of the following program?
public class testmeth
{
stat...
![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 04.03.2020 20:28 haileyjones732
What is the output of the following program?
public class testmeth
{
static int i = 1;
public static void main(String args[])
{
System. out. println(i+" , ");
m(i);
System. out. println(i);
}
public void m(int i)
{
i += 2;
}
}
a) 1 , 3
b) 3 , 1
c) 1 , 1
d) 1 , 0
e) none of the above.
![ansver](/tpl/images/cats/User.png)
Answers: 3
![](/tpl/images/ask_question.png)
![](/tpl/images/ask_question_mob.png)
Another question on Computers and Technology
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 06:30
Selective incapacitation is a strategy to reduce prison population
Answers: 3
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 11:00
What is the foundation for proper monitoring, load balancing and routing in distributed systems
Answers: 3
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 07:30
What key should you press and hold to select and open multiple files at one time? enter alt control esc
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 24.06.2019 07:40
What type of multimedia are live news feeds? live news feeds are examples of multimedia.
Answers: 2
You know the right answer?
Questions
![question](/tpl/images/cats/mat.png)
Mathematics, 29.11.2019 19:31
![question](/tpl/images/cats/biologiya.png)
Biology, 29.11.2019 19:31
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/himiya.png)
![question](/tpl/images/cats/obshestvoznanie.png)
Social Studies, 29.11.2019 19:31
![question](/tpl/images/cats/health.png)
Health, 29.11.2019 19:31
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 29.11.2019 19:31
![question](/tpl/images/cats/biologiya.png)
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/ekonomika.png)
Business, 29.11.2019 19:31
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/en.png)
English, 29.11.2019 19:31
![question](/tpl/images/cats/en.png)
English, 29.11.2019 19:31
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/obshestvoznanie.png)
Social Studies, 29.11.2019 19:31
![question](/tpl/images/cats/biologiya.png)
Biology, 29.11.2019 19:31
![question](/tpl/images/cats/istoriya.png)