Question
Output of below code public class Prg {
public static void main(String args[]){ System.out.print("A" + "B" + 'A'); } }Solution
Here A and B are treated as string and hence the character will be also converted to string data type in order to append it. So the answer is ABA.
Who became the first Indian astronaut to enter the International Space Station (ISS)?
- What is the name of the report launched by NITI Aayog on Indiaβs tools sector export potential?
Who will host the Quad Summit in 2025 after the U.S. hosts it in 2024?
Which program of AICTE is responsible for the Faculty Development Programme on AI and Data Science?
Which three countries are at the top of the CCPI 2026 rankings?
Who is known as the "Beacon of Light of Asia"?
Which inert gas is used as a substitute for nitrogen in air for deep-sea divers?
The Adani Group has sold around 3% stake in Adani Transmission through open market transactions to raise about______.
Who is the author of the book “On Board My Years in BCCI”?
Who has been appointed as the brand ambassador for FICCI Frames 2025?