Chinese character name and variable name! ---- The original Java can also use this!

xiaoxiao2021-03-06  42

Package gfh.test;

/ ** *

Title: *

description: Reprint, please indicate the source! *

Copyright: Copyright (c) 2004 *

Company: * @Author Gufuhua, Hangzhou * @version 1.0 * / public class variablenameinchinese {public variablenameinchinese () { Super ();} public static void main (string [] args) {int integer variable = 10; system.out.println (integer variable); string Chinese string object name = "Try one!"; system. Out.println (Chinese string object name); system.out.println (VariablenameInchinese);} static public string said hello (String name) {return name "Hello!" The results of the operation are as follows: 10

Try one again!

GFH Hello!

转载请注明原文地址:https://www.9cbs.com/read-77976.html

New Post(0)