Ask Learn
Preview
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Println(String) |
Prints a String and then terminate the line. |
Println(Single) |
Prints a float and then terminate the line. |
Println(Int32) |
Prints an integer and then terminate the line. |
Println(Double) |
Prints a double and then terminate the line. |
Println(Int64) |
Prints a long and then terminate the line. |
Println(Char) |
Prints a character and then terminate the line. |
Println(Boolean) |
Prints a boolean and then terminate the line. |
Println(Object) |
Prints an Object and then terminate the line. |
Println() |
Terminates the current line by writing the line separator string. |
Println(Char[]) |
Prints an array of characters and then terminate the line. |
Prints a String and then terminate the line.
[Android.Runtime.Register("println", "(Ljava/lang/String;)V", "GetPrintln_Ljava_lang_String_Handler")]
public virtual void Println(string? x);
[<Android.Runtime.Register("println", "(Ljava/lang/String;)V", "GetPrintln_Ljava_lang_String_Handler")>]
abstract member Println : string -> unit
override this.Println : string -> unit
The String
to be printed.
Java documentation for java.io.PrintStream.println(java.lang.String)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Prints a float and then terminate the line.
[Android.Runtime.Register("println", "(F)V", "GetPrintln_FHandler")]
public virtual void Println(float x);
[<Android.Runtime.Register("println", "(F)V", "GetPrintln_FHandler")>]
abstract member Println : single -> unit
override this.Println : single -> unit
The float
to be printed.
Java documentation for java.io.PrintStream.println(float)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Prints an integer and then terminate the line.
[Android.Runtime.Register("println", "(I)V", "GetPrintln_IHandler")]
public virtual void Println(int x);
[<Android.Runtime.Register("println", "(I)V", "GetPrintln_IHandler")>]
abstract member Println : int -> unit
override this.Println : int -> unit
The int
to be printed.
Java documentation for java.io.PrintStream.println(int)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Prints a double and then terminate the line.
[Android.Runtime.Register("println", "(D)V", "GetPrintln_DHandler")]
public virtual void Println(double x);
[<Android.Runtime.Register("println", "(D)V", "GetPrintln_DHandler")>]
abstract member Println : double -> unit
override this.Println : double -> unit
The double
to be printed.
Java documentation for java.io.PrintStream.println(double)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Prints a long and then terminate the line.
[Android.Runtime.Register("println", "(J)V", "GetPrintln_JHandler")]
public virtual void Println(long x);
[<Android.Runtime.Register("println", "(J)V", "GetPrintln_JHandler")>]
abstract member Println : int64 -> unit
override this.Println : int64 -> unit
a The long
to be printed.
Java documentation for java.io.PrintStream.println(long)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Prints a character and then terminate the line.
[Android.Runtime.Register("println", "(C)V", "GetPrintln_CHandler")]
public virtual void Println(char x);
[<Android.Runtime.Register("println", "(C)V", "GetPrintln_CHandler")>]
abstract member Println : char -> unit
override this.Println : char -> unit
The char
to be printed.
Java documentation for java.io.PrintStream.println(char)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Prints a boolean and then terminate the line.
[Android.Runtime.Register("println", "(Z)V", "GetPrintln_ZHandler")]
public virtual void Println(bool x);
[<Android.Runtime.Register("println", "(Z)V", "GetPrintln_ZHandler")>]
abstract member Println : bool -> unit
override this.Println : bool -> unit
The boolean
to be printed
Java documentation for java.io.PrintStream.println(boolean)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Prints an Object and then terminate the line.
[Android.Runtime.Register("println", "(Ljava/lang/Object;)V", "GetPrintln_Ljava_lang_Object_Handler")]
public virtual void Println(Java.Lang.Object? x);
[<Android.Runtime.Register("println", "(Ljava/lang/Object;)V", "GetPrintln_Ljava_lang_Object_Handler")>]
abstract member Println : Java.Lang.Object -> unit
override this.Println : Java.Lang.Object -> unit
The Object
to be printed.
Java documentation for java.io.PrintStream.println(java.lang.Object)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Terminates the current line by writing the line separator string.
[Android.Runtime.Register("println", "()V", "GetPrintlnHandler")]
public virtual void Println();
[<Android.Runtime.Register("println", "()V", "GetPrintlnHandler")>]
abstract member Println : unit -> unit
override this.Println : unit -> unit
Java documentation for java.io.PrintStream.println()
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Prints an array of characters and then terminate the line.
[Android.Runtime.Register("println", "([C)V", "GetPrintln_arrayCHandler")]
public virtual void Println(char[]? x);
[<Android.Runtime.Register("println", "([C)V", "GetPrintln_arrayCHandler")>]
abstract member Println : char[] -> unit
override this.Println : char[] -> unit
an array of chars to print.
Java documentation for java.io.PrintStream.println(char[])
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign in