Skip to content

pr4shxnt/beginner.java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Introduction to Java

What is Java?

Java is a high-level, object-oriented programming language designed for building robust, scalable applications. It follows the principle of "write once, run anywhere" (WORA) through the Java Virtual Machine (JVM).

Key Features

  • Object-Oriented: Organized around objects and classes
  • Platform Independent: Runs on any system with a JVM
  • Secure: Built-in security features and memory management
  • Multi-threaded: Supports concurrent programming
  • Robust: Strong exception handling and type checking

Getting Started

Prerequisites

  • Java Development Kit (JDK) installed [Used JDK 17 on the tutorial]
  • A code editor or IDE (IntelliJ IDEA, VS Code, Eclipse)
  • Basic programming knowledge

Your First Program

public class HelloWorld {
    public static void main(String[] args) {
        System.out.println("Hello, Java!");
    }
}

Basic Concepts

  • Variables & Data Types: int, String, boolean, etc.
  • Control Flow: if/else, loops, switch statements
  • Functions/Methods: Reusable blocks of code
  • Classes & Objects: Blueprints and instances
  • Exception Handling: try/catch blocks

Resources

About

idk maybe sum learn java typeshii ?

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages