[BAEL-15993] - Move articles out of core-java pt 3

This commit is contained in:
Sjmillington
2019-11-02 11:40:05 +00:00
parent 7940f0d912
commit 0fe123a691
21 changed files with 416 additions and 6 deletions

View File

@@ -11,4 +11,5 @@ This module contains articles about Java syntax
- [Java Double Brace Initialization](https://www.baeldung.com/java-double-brace-initialization)
- [The Java Native Keyword and Methods](https://www.baeldung.com/java-native)
- [Variable Scope in Java](https://www.baeldung.com/java-variable-scope)
- [Introduction to Basic Syntax in Java](https://www.baeldung.com/java-syntax)
- [[<-- Prev]](/core-java-modules/core-java-lang-syntax)

View File

@@ -0,0 +1,11 @@
package com.baeldung.basicsyntax;
public class SimpleAddition {
public static void main(String[] args) {
int a = 10;
int b = 5;
double c = a + b;
System.out.println( a + " + " + b + " = " + c);
}
}