Skip to content
3 marksDifficulty: Medium

What is the output of: int a = 7; int b = 2; System.out.println(a / b); System.out.println((double) a / b);

Original Khojo Papers practice question — not from a past board paper.

Practise this chapter

Answer

Related questions

From the same topic and chapter, at a similar level.

Related questions