Answer to Question #20304 in Java | JSP | JSF for daks

Question #20304
hi,

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.

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
APPROVED BY CLIENTS