Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7640237
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T08:37:13+00:00 2026-05-31T08:37:13+00:00

In System.out.println ,’out’ is a member variable of System class and it’s also an

  • 0

In System.out.println,’out’ is a member variable of System class and it’s also an instance of PrintStream class.So can anyone please tell me whether out can be a member of System class which is an object of PrintStream class or not?And please highlight me about System.out.println.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T08:37:15+00:00Added an answer on May 31, 2026 at 8:37 am

    It’s just a public static final variable. Any time you write:

    System.out.println("Foo");
    

    you’re fetching the value of that variable (which is a PrintStream reference) and calling println() on it. If it helps, think of it as:

    PrintStream tmp = System.out;
    tmp.println("Foo");
    

    System.out is not an instance of PrintStream itself – it’s a variable. The value of the variable isn’t a PrintStream object, either – it’s a reference to an object which is either a PrintStream or a subclass instance.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Can anyone tell me why System.out.println(test.replaceAll(.*, a)); Results in aa Note that the following
class A { void F() { System.out.println(a); }} class B extends A { void
public abstract class Master { public void printForAllMethodsInSubClass() { System.out.println (Printing before subclass method
public class Animal { public void eat() { System.out.println("I eat like a generic Animal.");
public class Null { public static void greet() { System.out.println(Hello world!); } public static
class Another { public void method(Object o) { System.out.println(This is in method which takes
If class MyClass { public static void main(String[] str) { System.out.println(hello world); } }
If multiple threads call System.out.println(String) without synchronization, can the output get interleaved? Or is
class test { test() { System.out.println("Constructor"); } { System.out.println("Hai"); } } public class sample
public class RefName { void outRefName() { System.out.println(the current reference name is + xxx);

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.