❓ Help Close

Status
Not open for further replies.
english pala

So every time the Chorus function is called in main function, it will run all the codes inside it just like a skyscraper
 
A method is a block of code which only runs when it is called. Methods are used to perform certain actions, and they are also known as functions.
 
Okay na ata eto "every time the Chorus function is called in main function, it will run all the codes inside it" sabi lang naman samin provide explanation how you arrive that output.
 
Chorus is a static method. This means you don't need to create a new class to use the method. To use the method, reference the name and suffix it with an open and close parenthesis.

The output became like that because you programmed it to be like that. In other words, garbage in, garbage out. Or if you want a positive spin, gold in, gold out.
 
Status
Not open for further replies.

Similar threads

About this Thread

  • 9
    Replies
  • 378
    Views
  • 3
    Participants
Last reply from:
pixkit

Trending Topics

Online now

Members online
813
Guests online
1,697
Total visitors
2,510

Forum statistics

Threads
2,293,602
Posts
29,085,088
Members
1,207,903
Latest member
yourz1013
Back
Top