Appinventiv’s Post

Crack this code & flex those coding muscles!  Drop your answer in the comments👇 #techriddle #appinventiv 

  • No alternative text description for this image
Abhinandan Jha

Executive(Recruitment)

18h

The variables x and y are initialized as int x = 5 and int y = 10. Inside System.out.println(x + y + "is the result!"); The expression x + y is evaluated first since both x and y are integers, resulting in 15. The result 15 is then concatenated with the string "is the result!", forming "15is the result!". The final output printed to the console is: 15is the result!

Like
Reply
MOHAMMAD BILAL

Core java, Advanced java, spring, spring MVC, spring boot, and microservice HTML ,CSS&Bootstrap and javaScript Tools Github, VS studio, Eclipse , Postman, and Sts(Spring tool suit).

6d

If you would ask this question in the interview then everyone will get the job

Darwin Watterson

Attended Swami Vivekananda Subharti University, Meerut

4d

15 is the result!

Like
Reply
Nishant Chauhan

Associate Consultant @ MetLife || ADF || ADB || DevOps || Pyspark || SQL || python|| pandas

5d

Type error: bcoz int and string can not be concatenated.

Like
Reply

15 is the result!

Like
Reply
Balawant Kumar

Flutter developer || UX/UI Designer . B Tech (CSE).

5d

The result of the addition (15) is printed to the console along with the message "is the result!".

Like
Reply
Rakesh Sharma

Java | Spring Boot | Microservice | Hibernate | MERN | | Oracle SQL | REST API | JavaScript | React JS | Node JS | Express JS | MongoDB | Azure DevOps | Data Structure & Algorithms

6d

This is just a joke 😂 Not asking the same question in an interview time .

Like
Reply
Harsh Shukla

Software engineer and Rocket !

5d

u need to update and used to void main().

Like
Reply
Abhay Gupta

JAVA FULL STACK DEVELOPER

5d

15 is the result!

Like
Reply
Anany More

CS & MAC | Full Stack Developer | Javascript | React | Node.js.

5d

15 is the result!

Like
Reply
See more comments

To view or add a comment, sign in

Explore topics