У нас вы можете посмотреть бесплатно My First Program in IntelliJ IDEA, How to run Program in IntelliJ IDEA или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
In this video tutorial i am going to show you how to run your first java program using IntelliJ IDEA JDK IntelliJ IDEA tutorial for beginners: Learn how to create your first Java application in IntelliJ IDEA See how to select a JDK to use to compile the application Find out where to access and change the project settings Let us understand the program by listing the main Java keywords that are used: Public: This is a visibility specifier or access specifier that defines the visibility of the component. Public means the parameter or component is visible to all. In the above program, we use a “public” specifier twice i.e. first before the class definition and second for the main function. This means the class, as well as the main function, are public and visible to all. Class: This is a Java keyword and is used to define a class. The “class” keyword is followed by a class name that defines the class. After the class name, a code block is defined with curly braces ({}). The code block will contain all the methods and data belonging to this class. Here we define a new class “myfirstclass” using the class keyword. Static: The keyword “static” is used to indicate that the method/object/variable that follows this keyword is static in nature and it can be invoked without using the object and the dot (.) operator. The static keyword before the main method means that the main method is static. The Main method is executed by JVM and by making it static there is no need to create an object thereby saving the memory. Void: The “void” keyword indicates that the method does not return anything. Main: The keyword “main” that indicates the main method is the starting point of any Java program. The execution of a Java program begins with the main method. String[] args: The string array args holds command line arguments. System.out.println: System.out.println is used to print messages to the screen. The system is a class in Java. The parameters “Out” and “println” are the members of the PrintStream class. While “out” is an object, println is a method.