L4undry
L4undry

Reputation: 201

Difference between SRC and BIN?

What is the difference between the src folder and the bin folder in an Eclipse project? They both seem the same, however, src uses .java files whereas bin uses .class files. Why is this? What difference do they have?

Upvotes: 7

Views: 20364

Answers (2)

Sagar Bhatt
Sagar Bhatt

Reputation: 41

if you are working on a Java project, src folder and its subfolders would hold the .java files (human readable codes). "Bin" folder is usually where the compiled files are copied to (computer readable codes). For example, this folder will have the .class, .jar etc files which are compiled.

Upvotes: 3

D.N.
D.N.

Reputation: 2170

src files are your raw, human-readable source code (in this case, .java). bin files are your compiled code (in this case, .class)

Upvotes: 14

Related Questions