search
HomeJavaJavaBasewhat is java program

what is java program

Nov 13, 2019 am 11:53 AM
javaprogram

what is java program

What is a java program

A java program is a computer program written in the java language. The entry function is public static void main(String args[]){}, which is executed through jvm after the .class file is generated by the compiler.

Recommended: java tutorial

Entry function analysis:

● This java class is written by java Called by the virtual machine (JVM), so the java class should expose this method, so use public;

● When this method is called by the JVM, it must not be a new object. If the method is called by the object, it should be called directly by the JVM. Therefore, static is used;

● It is meaningless to return something to the JVM, so void is used;

● Finally, the parameters in brackets are passed to the method by the JVM. The details can be obtained from cmd The configuration parameters are passed in from the console or from the run configuration of the development environment IDE (Eclipse).

The source code file of java is saved in the .java file, and is compiled by the compiler to generate a .class file. The java program can be run using the java file name method.

Extension:

Java

is the general name for the programming language and Java platform by Sun Microsystems. The HotJava browser (supporting Java applets) implemented in Java shows the charm of Java: cross-platform, dynamic Web and Internet computing.

The Java platform consists of the Java virtual machine and the Java Application Programming Interface (API). Java is divided into three systems: JavaSE (Java Platform Standard Edition), JavaEE (Java Platform Enterprise Edition), and JavaME (Java Platform Micro Edition).

Computer Program(Computer Program)

A computer program is a set of instructions that a computer can recognize and execute. It runs on an electronic computer and is information that meets certain needs of people. ization tools.

It is written in some programming languages ​​and runs on some target architecture. For example, a program is like an article written in English (programming language). It needs to be read, understood, and marked by a person who understands English (compiler) and who can also read this article (structure system). article. Generally, computer programs based on English text must be compiled and linked into a digital format that is difficult for humans to interpret but can be easily interpreted by computers, and then put into operation.

The above is the detailed content of what is java program. For more information, please follow other related articles on the PHP Chinese website!

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

mPDF

mPDF

mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

SecLists

SecLists

SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools

DVWA

DVWA

Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment