Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikibooksThe Free Textbook Project
Search

Java Programming/Keywords/int

From Wikibooks, open books for an open world
<Java Programming |Keywords

int is akeyword which designates the 32 bit signed integerprimitive type.

Thejava.lang.Integer class is the nominal wrapper class when you need to store anint value but an object reference is required.

Syntax:

int <variable-name> = <integer-value>;

For example:

Computer code
inti=65;


See also:

Retrieved from "https://en.wikibooks.org/w/index.php?title=Java_Programming/Keywords/int&oldid=3241565"
Category:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp