Hello , i am newer for java . now i have two questions for java . ( 1) what is difference between sun java and Mirsoft j++ 6.0 . now i have textbooks which is relevant to sun java . however , i find there is obviously different to j ++ . could anyone introduce basic j programming for j ++ 6.0 ( better give name and author )
( 2) i have Array topic which is about j ++ .
Create 4 arrays containing the data :
2222 alligator o 10
3333 monkey M 3
4444 koala S 8
0060 buffalo M 5
1111 shark F -1
1112 elephant M 6
1117 dolphin M 7
1118 whale M 9
3737 kangaroo S -1
1121 tiger M 11
6666 crocodile O 12
6677 hippopotomus M -1
6678 snake O 13
6679 lizard O -1
These arrays represent Animal Number, Animal Name, type of Animal and Link.
Also create 3 arrays containing type of Animal, Animal Name and Starting_position:
M Mammal 1
S Marsupial 2
F Fish 4
O Other 0
This means that the first Mammal is at position 1 of the first set of arrays. The link provides the place of the next element of the linked list. The last element in each link points to position -1.
The Marsupials are at positions 2 and 8.
Write a Java program which will accept either Animal Number or type of Animal.
Enquire into the arrays.
If the user enters an Animal Number, either display details about the Animal, or give an error message if the Animal is not found.
If the user enters a type of Animal, either display all the Animals of that type, or give an error message if the type is not found.