ByteBrawl - Quiz - Java File - Java Basics
ByteBrawl
About
Dashboard
Lessons
Builder
Leaderboards
Feedback
Level 1
0
Sign Out
All Lessons
0
Java Basics
Intro To Java
What Is Java
The Big 3
Compilation And Execution
Quiz
Concepts To Know
Comments
Functions
Variables
Types
Arrays
Class
Quiz
Java File
The Simplest Program
The Java Entry Point
Where Can You Put Code
Quiz
Functions
Defining A Function
Calling A Function
Return Types
Quiz
Classes And Objects
Defining A Class
Constructors
Methods
Standard Class
Enum Class
Nested Classes
Quiz
Java File - Quiz
Why does the main method need the 'void' keyword?
Because it doesn't need to return a value.
Because it is the entry point of the program.
To indicate that it is a special method.
I'm building a Java program and need to call my logic. How do I do this?
Call any methods I need at the start of the file.
By calling it from only the main method.
Creating a new instance of the class.
By calling it from any method.
Incorrect. Please try again.
Submit
Complete Quiz First
Section