Home > Java > javaTutorial > body text

Is java case insensitive?

青灯夜游
Release: 2019-11-15 16:57:51
Original
16985 people have browsed it

Java is an object-oriented programming language and a widely used computer programming language. It has the characteristics of cross-platform, object-oriented, and generic programming. It is widely used in enterprise-level web application development and mobile application development.

Is java case insensitive?

Java not only absorbs the various advantages of the C language, but also abandons the concepts such as multiple inheritance and pointers that are difficult to understand in C. Therefore, the Java language is powerful, simple and easy to use. Use two features. [Recommended learning: java course]

As a representative of static object-oriented programming languages, Java language excellently implements object-oriented theory and allows programmers to perform complex tasks in an elegant way of thinking. programming.

Is java case insensitive?

JAVA is a language with very strict grammatical requirements. Java is case-sensitive, regardless of classes, methods, attributes, and variables.

If you define a variable name: int A=1; and int a=1; A and a are different variables.

Generally speaking, the first letter of the class name should be capitalized, and the first word of the method name should be lowercase.

For example, class Test{}; class name, public void testMothed(){}method

The above is the detailed content of Is java case insensitive?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template