• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps .java source file

Beginnerr

Lurker
Hello,
I'm a beginner in using android eclipse. I have to write a code in eclipse, which will do the following: a main interface with two tabs, and when the first tab is clicked it will give the user an option to write the side of a rectangle and a click button to calculate its surface. The second tab will do the same thing for a circle
My question, is that , should I create seperate .java source files for the tabs,or the whole code is written in one .java file ( at eclipse)
 
Back
Top Bottom