0% found this document useful (0 votes)
4 views5 pages

Java Programming Basics for XI Students

This document is a computer science project focused on Java programming commands for Class XI students. It covers the basic structure of a Java program, important keywords, input/output commands, operators, control statements, and arrays. The project emphasizes the significance of learning these foundational concepts for developing logical thinking in programming.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views5 pages

Java Programming Basics for XI Students

This document is a computer science project focused on Java programming commands for Class XI students. It covers the basic structure of a Java program, important keywords, input/output commands, operators, control statements, and arrays. The project emphasizes the significance of learning these foundational concepts for developing logical thinking in programming.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

COMPUTER SCIENCE PROJECT

JAVA PROGRAMMING COMMANDS

Class : XI
Subject : Computer Science

Submitted By : ____________________
Roll No : ____________
School : ____________________
Session : 2025–26
Acknowledgement
I would like to express my sincere gratitude to my Computer Science teacher for guiding me
throughout the completion of this project. I am also thankful to my school and parents for their
continuous support.
Index
• 1. Introduction
• 2. Basic Structure of Java Program
• 3. Important Java Keywords
• 4. Input and Output Commands
• 5. Java Operators
• 6. Control Statements
• 7. Arrays in Java
• 8. Conclusion
• 9. Bibliography
Introduction
Java is a high-level, object-oriented programming language developed by Sun Microsystems. It
is platform independent and widely used in application development.

Basic Structure of a Java Program


A Java program consists of a class definition and the main() method, which acts as the entry
point of execution.

Important Java Keywords


• class – Used to define a class
• public – Accessible from anywhere
• static – No object required
• void – No return value
• main – Program execution starts here
• int, float, double – Numeric data types
• char – Single character
• String – Group of characters

Input and Output Commands


[Link]() is used to display output. Scanner class is used to accept user input.

Java Operators
• Arithmetic Operators: +, -, *, /, %
• Relational Operators: ==, !=, >, <, >=, <=
• Logical Operators: &&, ||, !
• Assignment Operator: =

Control Statements
• if statement
• if-else statement
• switch statement
• for loop
• while loop
• do-while loop

Arrays in Java
Arrays store multiple values of the same data type in a single variable.

Conclusion
Java commands are the foundation of programming. Learning these basics helps students
develop logical thinking.
Bibliography
• NCERT Computer Science Textbook – Class XI
• [Link]/java
• [Link]

You might also like