Results 1 to 2 of 2
  1. #1
    aschmidt8 is offline Member
    Join Date
    Jan 2014
    Rep Power

    Default question about naming projects in eclipse (hierarchy)

    Below I've attached a screenshot of how I've been naming my various java projects as I go through my current textbook. I'm not sure if I'm naming them correctly. I'm on chapter 5 of Introduction to Java Programming by Y. Daniel Liang and he is currently discussing methods and classes. I'm not sure what my projects would be considered (methods, classes, or something arbitrary like projects). Further, if I wrote a program, like loanCalculator215 for example, how could i call that in a different program, like primeNumbers?

    I'm kind of confused as to the whole hierarchy and was hoping someone could shed some light. I guess the only thing I understand is that methods are within classes (I think). So are my projects considered classes? Idk. help!
    thanks in advance.

    question about naming projects in eclipse (hierarchy)-packageexplorer.jpg

  2. #2
    wsaryada is offline Senior Member
    Join Date
    Jun 2007
    Bali, Indonesia
    Rep Power

    Default Re: question about naming projects in eclipse (hierarchy)

    You can name a project in Eclipse based on what the project do. For example a Guest Book, Text Editor, First Assignment, Accounting System, etc. A .class file is a result of compiling a .java file using the Java compiler. You write your object in Java as a class, this class is stored inside a source code file that have the extension of .java. You can create a methods inside for your class.

Similar Threads

  1. Synching Projects in Eclipse?
    By ourimaler in forum Eclipse
    Replies: 6
    Last Post: 10-12-2012, 05:29 PM
  2. A question about hierarchy
    By Aggnavarius in forum New To Java
    Replies: 1
    Last Post: 09-05-2012, 06:38 PM
  3. Inheritance hierarchy question
    By IAmACodingNoob in forum New To Java
    Replies: 3
    Last Post: 04-06-2012, 01:55 AM
  4. Eclipse for web projects ???
    By sarwar1234 in forum New To Java
    Replies: 0
    Last Post: 10-10-2010, 01:01 AM
  5. Replies: 15
    Last Post: 09-30-2008, 04:50 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts