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

Trending Topics

Online now

Members online
1,165
Guests online
3,403
Total visitors
4,568

Forum statistics

Threads
2,330,647
Posts
29,255,647
Members
1,151,216
Latest member
bbbenn
Back
Top