1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Bumek [7]
4 years ago
13

What is the printout for the first statement in the main method?

Computers and Technology
1 answer:
11Alexandr11 [23.1K]4 years ago
6 0

Answer:

The output of the first statement in the main method is 23.

Explanation:

In this question, the answer is 23 because In java (+) concatenation is used for joining two strings together. If we use statement ("i + j is " + (i + j)) like this then the output will change.but the output of the first statement in the main method is 23.because it print (i) value first that is 2.after that It will print (j) value that is 3.So, the output is 23.

You might be interested in
Declare a struct of your choice (Employee, Student etc). Delcare a node for singly link list. Declare an ADT of this linklist. T
Feliz [49]

Answer:

Part 2 is remaining I m working on it

Explanation:

#include <iostream>

using namespace std;

struct student {

int Rollno;

char Studentname[50];

int marks;

char semester[50];

};

int main() {

struct student stud[2] = { { 1 , "nasir" , 300 , "4th" } , { 2 , "abid" , 400 , "4th" } };

cout<<"Students Result is given as follows:"<<endl;

cout<<endl;

for(int i=0; i<2;i++) {

cout<<"Roll no: "<<stud[i].Rollno<<endl;

cout<<"Name: "<<stud[i].Studentname<<endl;

cout<<"Marks: "<<stud[i].marks<<endl;

cout<<"Semester : "<<stud[i].semester<<endl;

cout<<endl;

}

return 0;

}

5 0
3 years ago
Two electronics technicians are looking at the piece of testing equipment shown in the figure above. Technician A says that this
finlep [7]
Correct answer is B. had this question in the past
5 0
3 years ago
Which osi model layer manages data encryption?
Hoochie [10]
The presentation Layer manages data encryption.
7 0
4 years ago
Use knowledge of the actions and adverse effects of NSAIDs to choose the correct statement.
Vanyuwa [196]
Knowledge of breastfeeding during oregenacy is safe
8 0
4 years ago
What is the by stander effect
nignag [31]

Answer:

The bystander effect is a theory that people are less likely to help if there are others around.

hope this helped :D

4 0
3 years ago
Other questions:
  • Websites often request information about you. You have a choice as to whether or not you provide this to them. What aspect of PA
    12·1 answer
  • What happens if you never confirm your facebook account?
    8·1 answer
  • What will the following program display?
    6·1 answer
  • 1. Given a sequential list with n numbers, represented in a one-dimensional array A) Write an algorithm to check if the list has
    14·1 answer
  • What mistake do you think you might make related to changing the data in a cell that's used in a formula?
    14·1 answer
  • In the Microsoft Office Suite, what tells a database what to insert information in the document? 
    8·1 answer
  • What is the range for copper tape
    15·1 answer
  • David Griffin on How Photography Connects Us
    11·1 answer
  • Are you familiar with measuring using a ruler? When have you ever used a ruler to measure, and who taught you how to use the rul
    13·1 answer
  • Which of these is not enumerated as a motivation to create accessible web content?
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!