---
title: "Discussion on \"Test Code Chanllenge Post\" | Hashnode"
description: "Discussion on \"Test Code Chanllenge Post\". Problem\nAdd two integers\nSolution\npublic static void main(String args[]) {\n    int first = args[0];\n    int second = args[0];\n\n    int result = first + second;\n\n    System.out.println(result);\n}"
url: "https://hashnode.com/posts/test-code-chanllenge-post/68e274193155b13269035ce5"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Test Code Chanllenge Post](https://waspy.hashnode.dev/test-code-chanllenge-post?utm_source=hashnode&utm_medium=feed)

Problem Add two integers Solution public static void main(String args\[\]) { int first = args\[0\]; int second = args\[0\]; int result = first + second; System.out.println(result); }

Oct 5, 2025 · 1 min read · waspy.hashnode.dev  
Read the article

-   [#coding-challenge](https://hashnode.com/tag/coding-challenge)

## Written by

[waspy](https://hashnode.com/@waspy)

@waspy

  
[View profile](https://hashnode.com/@waspy)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
