December 10th, 2012, 01:36 AM
Java programming help
i am new to java.i have been given assignment where i have to display emp name based on state city area.
i have mysql table employee in db with int id,name varchar(20),state varchar(20),city varchar(20),area varchar(20))
now i need to design my classes in this way
i should breakdown my table to this class structure
city--> it should display state name and array of cities;
my next class
it should display
city name-->with array of area
area name-->array of employees;
basically its like state array class
should display city
and city class should display
and area class shoul display
i tried to do this using harcoded values and entered values from cmd prompt and searched the class and displayed values and it worked, but the functionality should be like this all class should be linked.
December 10th, 2012, 06:13 AM
Show us java codes
Please post the Java codes you have written so far. Remember to format them using the code highlighter for ease of reading.
When the programming world turns decent, the real world will turn upside down.