Basic Syntax
Last updated
Basic Syntax?
Understanding the basics is the key to a solid foundation. In this section, learn the basic terminologies, naming conventions, reserved keywords, expressions, statements, data structures, OOP, packages, etc.
- To print output use --> System.out.println();
- To take input from user --> Scanner or BufferedReader class can be used
Free resources to learn Basic Syntax
- Official docsJava Language Basics
- VideoJava - Basic Syntax
- VideoJava Tutorial for Beginners
More in stage 1: Learn the Basics
Basic Syntax: common questions
Can I learn Basic Syntax in Hindi?
This lesson is written in English. Once you sign in, open it in the interactive course and ask the AI tutor to explain Basic Syntax in Hindi or Hinglish. The tutor answers from this lesson’s own text, so it stays on the syllabus, and it runs on your own Google, OpenAI or Anthropic key.
Is this Basic Syntax tutorial for beginners?
It is lesson 8 of 86 in the free Java roadmap, in stage 1, Learn the Basics. If you are new to Java, start from stage 1 and come back here in order; if you already know the earlier stages, this lesson stands on its own.