i am new to java programing i have mysql table employee{int id,string name,string state,string city,string area} i am harcoding the values for now.
1 A delhi agra block1
2 B delhi shimla block2
3 c karnataka bangalore block1
now i need my java class to print name and id of employee based on state city area i want my class structure to be this way .kindly help me
class state
{
this class should output array of cities[] along with state name
state[0]-->delhi-->agra
shimla
state[1]-->karnataka-->bangalore}
class city{
this class should output city[0]-->agra-->block1
;;
}
class area{ should output all empname from that area
area[0]-->block1--A
}
final output should be->
delhi--->agra
>-block1
->A
->shimla
- > block2
------>b
karnataka--->bangalore
block1
-c
1
Expert's answer
2012-12-10T03:02:15-0500
Unfortunately, your question requires a lot of work and cannot be done for free. Submit it with all requirements as an assignment to our control panel and we'll assist you.
Numbers and figures are an essential part of our world, necessary for almost everything we do every day. As important…
APPROVED BY CLIENTS
"assignmentexpert.com" is professional group of people in Math subjects! They did assignments in very high level of mathematical modelling in the best quality. Thanks a lot
Comments
Leave a comment