❓ 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
  • 373
    Views
  • 3
    Participants
Last reply from:
pixkit

Online now

Members online
976
Guests online
848
Total visitors
1,824

Forum statistics

Threads
2,276,258
Posts
28,968,746
Members
1,231,191
Latest member
yonam
Back
Top