Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
次のステートメントに相当するJavaの命令は何ですか:
String name; cout << "So your name is " << name << endl;
またはC#で
console.writeline("So your name is {0} ", name);
String name; cout<<"So your name is "<<name<<endl;
と同等です:
String name = ...; System.out.println("So your name is " + name);
と:
Console.WriteLine("So your name is {0}", name);
System.out.printf("So your name is %s", name);