Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6982147
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T18:14:59+00:00 2026-05-27T18:14:59+00:00

I apologize if this has been asked before, but I believe that for me,

  • 0

I apologize if this has been asked before, but I believe that for me, this question falls under the “I have no idea what I should even google” category.

So, as a noobie to the coding world, I have only recently begun delving into projects that encompass more than a few source files. I am beginning my first “big” project, and before I begin, I would like to know the best way to go about managing many different pieces of a system.

For example:
I have Project0 which is built from the pieces A through Z. Each piece is comprised of 50 separate source files, src0 through src50. What is the proper folder structure for this set up? Also, is this a perfect use for Java’s package structure?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T18:14:59+00:00Added an answer on May 27, 2026 at 6:14 pm

    Names like “A” to “Z” do not convey much meaning. It’s the same for “src0” to “src50”.

    But if that’s really what you want, in a typical Java project it may look like this:

    .../Project0/
           |
           +----/src/com/meff/a/
           |              |
           |              +-Src0.java
           |              +-Src1.java
           |              .
           |              .
           |              .
           |              +-Src50.java
           |
           +----/src/com/meff/b/
                          +-Src0.java
                          +-Src1.java
                          .
                          .
                          .
                          +-Src50.java 
    

    Once again, such a naming scheme would be absolutely terrible. I just put it there because that’s the example you used and it may help you organize your first project…

    So you should use directories to represent your packages (and by conventions they should be in lowercase). Your “pieces” “A” through “Z” [sic] becomes “package” “a” through “z”.

    Then your source code files become Java classes (and by conventions they should be starting with an uppercase).

    It’s also convenient to use a domain name you own as part of your hierarchy (I know you don’t own “meff.com”, but you get the idea).

    So your “src0” from your “piece A” [sic] becomes a Src0.java file located in …/Project0/src/com/meff/a/ and looks like this:

    package com.meff.a;
    
    public class Src0 {
       ...
    }
    

    Note that it’s typical to have a src/ directory. If you’re adding unit tests to your projects, for example, you may also to add a test directory at the same level as the src/ directory, etc.

    Hope it helps and change your “A to Z” and “src0 to src50” to something meaningful : )

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I apologize if this question has been asked before, but my case is a
I know that this question has been asked loads of times, but I have
I apologize if this has been asked before, but I haven't quite found the
I apologize in advance if this has been asked before, but I haven't been
If this has been asked before, I apologize but this is kinda of a
Apologies if this has been asked before but it seems an obvious question for
First off, I apologize if this question has been asked before. I've done a
I apologise if this question has already been asked on here before but I
I apologize if this has been asked before. I searched but did not find
(Apologies if this has been asked before - I can't believe it hasn't, but

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.