🔒 Closed Tutorial: array and collections - very very important concept

Status
Not open for further replies.

codyscott

Honorary Poster
Isang tutorial sa inyo mga ka-PH. (Inspired by a PH buddy ;)

***************************
Kung gusto matuto kung paano gumawa ng app like this and how to program in Java, join our group.
"SERIOUSLYJAVA"
https://phcorner.org/forums/seriouslyjava.385/
**************************

NAKAPA simpleng concept, pero NAPAKA USEFUL sa programming. (big or small projects, one of the backbones). Parang napaka impossibleng gumawa ng app kung wala itong concept na ito.

Java array and collection framework.

Ito ang exercise question.
- Meron kang collections (array) ng mga pangalan. Sabihin natin 1000 names.
- Tapos marami ang doble dobleng pangalan.
- Gusto mo bilangan kung ilang beses na doble ang isang pangalan

This is one of the solutions. (check attached image)

***TO BE LEARNED***
- array
- set
- for loop
- String comparison method (.equals)
 

Attachments

  • array-set.webp
    array-set.webp
    94.2 KB · Views: 29
Status
Not open for further replies.

About this Thread

  • 6
    Replies
  • 2K
    Views
  • 7
    Participants
Last reply from:
russian_torogi

Trending Topics

Online now

Members online
1,005
Guests online
1,380
Total visitors
2,385

Forum statistics

Threads
2,272,843
Posts
28,945,731
Members
1,236,434
Latest member
AndyKeithKoh
Back
Top