Understanding Java Basics: JVM, JRE, OOP, Compiler, Bytecode, .class File | Lecture 1

Опубликовано: 21 Август 2024
на канале: Saksham Digital Technology
100
9

public: This means the method is accessible from anywhere, which is necessary since the JVM needs to access it to start the program.

static: This allows the JVM to call the main method without creating an instance of the class. The main method belongs to the class itself, not to any specific object of the class.

void: The main method does not return any value.

main: This is the name of the method. It must be exactly "main" for the JVM to recognize it as the entry point.

String[] args: This parameter is an array of String objects, which allows the program to accept command-line arguments. These arguments can be used to influence the behaviour of the program.


Смотрите видео Understanding Java Basics: JVM, JRE, OOP, Compiler, Bytecode, .class File | Lecture 1 онлайн, длительностью часов минут секунд в хорошем качестве, которое загружено на канал Saksham Digital Technology 21 Август 2024. Делитесь ссылкой на видео в социальных сетях, чтобы ваши подписчики и друзья так же посмотрели это видео. Данный видеоклип посмотрели 100 раз и оно понравилось 9 посетителям.