8000 GitHub - sadiapeerzada/Java-Programs
[go: up one dir, main page]

Skip to content

sadiapeerzada/Java-Programs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java-Programs

Java Programs Repository

A collection of lab assignments and practice programs from my B.Sc. Computer Science Java coursework.
This repository is focused on strengthening object-oriented programming concepts and enhancing problem-solving skills.
It documents my weekly progress and practice programs in Java, organized to gradually build proficiency from fundamental to advanced concepts.


📂 Repository Structure

  • Week 1 – Official Documentation & Resources
    Contains links and references to official Java documentation and additional practice resources.

  • Week 2 – Introduction & Software Requirements
    Basics of setting up the development environment and requirements for working with HTML, JavaScript, PHP, and Java programs.

  • Week 3 – Basic Problems in Java
    Simple programs to practice Java syntax, input/output handling, and fundamental problem-solving.

  • Week 4 – Conditional & Looping Problems
    Programs based on if statements and various looping constructs.

  • Week 5 – Arrays in Java
    Problems focused on array creation, traversal, manipulation, and basic algorithms.

  • Week 6 – Combined Concepts
    Practice problems integrating if statements, loops, and arrays.

  • Week 7 – Advanced Combined Concepts
    Programs involving if statements, loops, arrays, and strings.

  • Week 8 – Object-Oriented Concepts
    Problems focusing on classes, objects, and constructors in Java.

  • Week 9 – Interfaces, Abstract Classes, Statics, Inheritance
    Programs covering interfaces, abstract classes, static members, and inheritance concepts.

  • Week 10 – Classes, Inner Classes & Methods
    Programs involving:

    • Creating classes such as Person
    • Inner and static classes
    • Writing two or more methods and calling all other methods from the main method
  • Week 11 – Interfaces Only
    Focused on creating and implementing interfaces.

  • Week 12 – Exception Handling
    Programs covering:

    • Methods that throw exceptions such as ArithmeticException (unchecked exception)
    • Creating custom exceptions
  • Week 13 – File Handling in Java
    Programs including:

    • Creating and writing files
    • Copying content from one file to another
    • Counting total number of characters and lines
  • Week 14 – JDBC & Database Connectivity
    Programs to connect with a database using JDBC or any other Java database API.


🚀 How to Run the Programs

  1. Clone the repository:
    git clone https://github.com/sadiapeerzada/java-program.git
    
    javac FileName.java
    java FileName
    

🛠 Tools & Requirements

  • JDK 8 or above

  • Any IDE or text editor (Eclipse, IntelliJ IDEA, VS Code, Notepad++, etc.)

📖 Notes

Each week has a separate folder for better organization.

Code is intended for practice and learning purposes.

The repository will continue to be updated as progress is made.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0