PrintStream.Println Method

Definition

Overloads

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.

Println(String)

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

Parameters

x
String

The String to be printed.

Attributes

Remarks

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.

Applies to

Println(Single)

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

Parameters

x
Single

The float to be printed.

Attributes

Remarks

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.

Applies to

Println(Int32)

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

Parameters

x
Int32

The int to be printed.

Attributes

Remarks

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.

Applies to

Println(Double)

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

Parameters

x
Double

The double to be printed.

Attributes

Remarks

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.

Applies to

Println(Int64)

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

Parameters

x
Int64

a The long to be printed.

Attributes

Remarks

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.

Applies to

Println(Char)

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

Parameters

x
Char

The char to be printed.

Attributes

Remarks

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.

Applies to

Println(Boolean)

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

Parameters

x
Boolean

The boolean to be printed

Attributes

Remarks

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.

Applies to

Println(Object)

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

Parameters

x
Object

The Object to be printed.

Attributes

Remarks

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.

Applies to

Println()

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
Attributes

Remarks

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.

Applies to

Println(Char[])

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

Parameters

x
Char[]

an array of chars to print.

Attributes

Remarks

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.

Applies to