Skip to content

B0DA11/Smart_Home

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Smart Devices Java Project

Simple Java project demonstrating device classes (Device, Smartphone, Smartwatch, SmartTV, Tablet) with a Main runner.

Prerequisites

  • Java JDK 11 or newer installed

Build & Run

From the project root (where these files live), run:

javac *.java
java Main

If your environment uses separate source folders, compile accordingly.

Project Structure

  • Device.java — base device abstraction
  • Smartphone.java — smartphone implementation
  • Smartwatch.java — smartwatch implementation
  • SmartTV.java — smart TV implementation
  • Tablet.java — tablet implementation
  • Main.java — application entry point

Git / GitHub

  1. Initialize a local repo (optional):
git init
git add .
git commit -m "Initial commit"
  1. Create a repository on GitHub and push:
git remote add origin https://github.com/USERNAME/REPO.git
git branch -M main
git push -u origin main

Replace USERNAME and REPO with your GitHub username and repo name.

Notes

  • .gitignore added to exclude build artifacts and IDE files.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages