Method Signatures

Ace your homework & exams now with 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


Related study sets

Biology 101 (chapter 26, 27, 28)

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