System.out.println("somestring"); It will create any object
or not
Answers were Sorted based on User's Feedback
Answer / manish pal
yes it create 2 objects
first for string literal
second for print stream
Is This Answer Correct ? | 10 Yes | 0 No |
Answer / prajakta
yes...Here System is a pre-defined class & out is a static
variable of that class.So we use "System.out" i.e
(className.variableName)..which gives you printstream class
object..now that object is used to call non-static method
of printstream class(println)i.e. obj.methodName();
Is This Answer Correct ? | 0 Yes | 0 No |
What is the simpletimezone class in java programming?
Q) I have a ArrayList object, in that object i have added 5 integer values, 5 float values, 5 string values. Now question is how can delete particular type of data ( i.e all int values or all float values or string values) in that list object at a time?
What are the latest versions in JAVA related areas?
what are variables in java
What is close method? How it's different from Finalize & Dispose?
0 Answers InfoAxon Technologies,
explain the classification of exception and hoew to handle the exceptions
What are the library functions in java?
What is the use of 'super' keyword inside a constructor?
0 Answers Flextronics, Thomson Reuters, Virtusa,
what do you mean by marker interface in java?
What is the benefit of lambda expressions?
What is the basically use of finally while we know it is always executed but why?
When should you use arraylist and when should you use linkedlist?