Skip to content
  • Home
  • Blogs
  • QNA
    • Community
    • Ask
    • Questions
  • Explore
    • Tools
    • Computer Science
    • Electrical
    • Electronics
    • Digital Marketing
    • Technology
    • Hiring Process
    • Interview Questions
    • Roadmap
    • Comparison
    • What Is
    • Project
    • Top Things
    • TechNews
  • News?
  • Login
newlogo of cs Electrical And Elect
  • Home
  • Blogs
  • QNA
    • Community
    • Ask
    • Questions
  • Explore
    • Tools
    • Computer Science
    • Electrical
    • Electronics
    • Digital Marketing
    • Technology
    • Hiring Process
    • Interview Questions
    • Roadmap
    • Comparison
    • What Is
    • Project
    • Top Things
    • TechNews
  • News?
  • Login

Addition operation code in Kotlin?

All Questions › Category: Kotlin › Addition operation code in Kotlin?
0 Vote Up Vote Down
chetan shidling asked 5 years ago

I need short information.

1 Answers
0 Vote Up Vote Down
chetan shidling answered 5 years ago

The addition operation code in Kotlin is,
 
fun main(Args :Array <String>){
var num1: Int = 3
var num2: Int = 9
println(num1 + num2)
}
 
Output:
 
12
 

Proudly powered by WordPress | RealEstate Pack Lite by Wp Theme Space.

WhatsApp us