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

Trending Topics

Online now

Members online
1,008
Guests online
9,103
Total visitors
10,111

Forum statistics

Threads
2,354,344
Posts
29,383,327
Members
1,079,421
Latest member
Hashim27
Back
Top