GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  J2EE  >  Core Java
Go To First  |  Previous Question  |  Next Question 
 Core Java  |  Question 410 of 502    Print  
What is the meaning of System.out.println(). How it is constructed?

  
Total Answers and Comments: 2 Last Update: February 14, 2008     Asked by: siddharth das 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
August 03, 2007 06:18:49   #1  
sujatham Member Since: January 2006   Contribution: 142    

RE: What is the meaning of System.out.println(). How i...
System.out.println( );

1.The System class contains several useful class fields and methods. It cannot be instantiated.

2.System class has field out of type PrintStream class.
3.println() is a method in PrintStream class.
public static final PrintStream out
The "standard" output stream. This stream is already open and ready to accept output data. Typically this stream corresponds to display output or another output destination specified by the host environment or user.

For simple stand-alone Java applications a typical way to write a line of output data is:

  System.out.println(data) 

 
Is this answer useful? Yes | No
February 14, 2008 23:54:51   #2  
sampra Member Since: February 2008   Contribution: 278    

RE: What is the meaning of System.out.println(). How it is constructed?
Given ans is sufficient
 
Is this answer useful? Yes | No

 Related Questions

Latest Answer : Abstract Class: There are two ways to create abstract class, one is by mentioning abstract key before the class declaration, and second one is by mentioning abstract key before the method declaration we can make that class as abstract class.eg:public ...
Read Answers (4) | Asked by : Beena
Tags : Abstract

Latest Answer : fianl key word is use to declare a mamber as constant ...
Read Answers (5) | Asked by : Beena

Latest Answer : Hai Friends you have to remember one thing.The Jvm is one.Butwe can have mamy jvm instances.  you open five commmand prompts and do java programs in all command prompts.All will execute.For Every command prompt one jvm intances is assinged. ...
Read Answers (5) | Asked by : sirisha

i do't know 
Latest Answer : Check does it in range of integer or not ...
Read Answers (13) | Asked by : mohit

Latest Answer : Any number of JVM's can be installed on a single OS,JVM is simply an environment, which executes the java application, so it will be ultimately the user choice to decide upon which environment he would like to run his application on.( remember :: $ ...
Read Answers (23) | Asked by : sjehan

Why there is no guarentee for System.gc() method will perform garbage collection for a particular time?
Read Answers (2) | Asked by : chandu

What happen if we write many curly braces in main method and write println method inside it .program will compile or not?
Read Answers (8) | Asked by : sandeep

I want to know output of this program and the flow alsopublic class Aquestion { private int i = giveMeJ(); private int j = 10; private int giveMeJ() { return j; } public static void main(String args[]) { System.out.println((new Aquestion()).i); } }
Read Answers (12) | Asked by : sudha_e

I want to know the difference between these two programs mean the flow/*public class Aquestion { private int i = giveMeJ(); private int j = 10; private int giveMeJ() { return j; } public static void main(String args[]) { System.out.println((new Aquestion()).i); } } */public class Aquestion{private int j = 10;private int i = giveMeJ();private int giveMeJ(){ return j; }public static void main(String args[]){System.out.println((new Aquestion()).i);}}
Read Answers (8) | Asked by : sudha_e

Solve it... public class test {public static void main(String[] args) { int i=5; i=i++; System.out.println("result::"+i); }}The result wil be 5..!! and not 6 why???


 Sponsored Links

 
Related Articles

Service Oriented Java Business Integration Review

Service Oriented Java Business Integration Review Introduction If you ve read through the texts which give you an introduction to SOA or Web Services you will often find them to be quite frustrating and the reason for this is because they spend too much time referencing business processes which are
 

Java and Client Server Models

Java and Client Server Models The Role of Client Servers on the Web Client server models provide the essential mechanisms for working with the Internet In fact most of the World Wide Web is built according to this paradigm In client server models the web browsers run by millions of users are the cli
 

How to call C header that is not provided generally by system in C++?

Headers can be called by using extern C Syntax of extern C is: extern "C" <function declaration> for example to call C functions from C++ we can write extern "C" { <function declaration> <function declaration> ...
 

System Implementation

In the previous articles relating to SDLC Stages we discussed about Project Planning and Feasibility Study moved on to System Analysis and Requirements which lead to Systems Design. Systems Design will naturally lead to another stage where it becomes closer to the actual deployment of the p
 

System Analysis and Requirements

In the previous chapter, we’ve discussed about project planning and feasibility study. That stage was important because it tries to establish a problem in our highly technological world. As our understanding on what we can do in computers evolve and so are the things that we need to make t
 

The Interview Snafu

How to turn someone else’s mistake to your advantage Your dream job is about to become reality. A recruiter gave you the heads up about the perfect position at Humungous Conglomerate, Inc. You went through five interviews as well as a battery of psychological tests mandated by their HR de
 

Winning a Job Interview with a Winning Resume

Does your resume unlock your potential, take your skills to the highest level and win you the interview and the job you want now? The job market today is highly competitive and even if you think you have what it takes to get an interview you won’t get over the line without a polished, prof
 

Using UML with Java

Using UML with Java While Java is not a new language its application for the development of embedded systems is quite new Developers are beginning to take a second look at modeling languages such as UML and many feel it can be a powerful tool in their development arsenal mosgoogle center Introductio
 

Importance of Proper English during Job Interview

Importance of Proper English during Job Interview Your job interview is crucially important and it will determine whether or not you will get the job Depending on the type of job you re going for it is very important for you to use proper English In most cases jobs which offer higher salaries will h
 

Java Technology Trends

Technology Trends Involving Java Java is an object oriented programming language OOP for Web browsers It is organized around data rather than actions and supports polymorphism which allows the same code to be written generically so it can function with different datatypes inheritance which allows on
 

About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape