Question 1
Consider the Java code given below.
What will the output be?
Consider the Java code given below.
What will the output be?




Consider the Java code given below.
What will the output be?
This program generates the output:

This program generates the output:

This program generates the output:

This program generates the output:

Consider the Java code given below.
Identify the appropriate statement to fill in the blank at , such that the output is:
—
—
—
—
Sign in with Google — it is free — to see every question with its answer and explanation, practise it in learning mode, or take it as a timed mock test.
The IIT Madras BS Programming Concepts using Java (Java) End Term paper sat on 10 May 2026, in the January 2026 term: 23 questions for 100 marks in 180 minutes. The first 3 questions are below. Sign in with Google — it is free — to see the whole paper with its answers and explanations, in learning mode or as a timed mock test.
| Feature | Java End Term 10 May 2026 at a glance |
|---|---|
| Term | January 2026 term |
| Subject | Programming Concepts using Java |
| Course code | BSCS2005 |
| Questions | 23 |
| Marks | 100 |
| Duration | 180 min |
| MCQ | 21 |
| MSQ | 2 |
| Official paper | Programming Concepts Using Java 06 May 26 |
| Negative marking | No negative marking. |
| Updated |