Method Signatures

अब Quizwiz के साथ अपने होमवर्क और परीक्षाओं को एस करें!

Public

Access modifier of main method

Void

Java main method doesn't return anything, so the return type is void.

Main

Name of Java main method

String[] args

The main method accepts a single argument of type String array. It's also called the java command line arguments

Static

The method has to be static so that JVM can load the class into memory


संबंधित स्टडी सेट्स

Biology 101 (chapter 26, 27, 28)

View Set

Unit 19 (Business Owners Policy BOP)

View Set

FN - Unit 2 - Chapter 19: Evaluating

View Set

Behavioral Observation and Screening Mod 4

View Set

Research Methods Memory Retrievals

View Set

Chapter 7- The Axial Skeleton, Chapter 10 - A&P, Chapter 8 anatomy

View Set