explain System.out.println
Answer Posted / anup
----> public final class System extends Object <------
Directory Structure is as follows:
java.lang.Object
|
+--java.lang.System
System class has following static field-
static PrintStream out =new PrintStream();
directory Structure of PrintStream:
java.lang.Object
|
+--java.io.OutputStream
|
+--java.io.FilterOutputStream
|
+--java.io.PrintStream
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is the purpose of default constructor?
Why is the type for real numbers called double?
Does windows 10 need java?
How do you remove spaces in java?
Is there any way to find whether software installed in the
system is registered by just providing the .exe file?
I have tried the following code but its just displaying the
directory structure in the registry.
Here the code :
package com.msi.intaller;
import java.util.Iterator;
import ca.beq.util.win32.registry.RegistryKey;
import ca.beq.util.win32.registry.RootKey;
public class RegistryFinder {
public static void main(String... args) throws Exception
{
RegistryKey.initialize(RegistryFinder.class.getResource("jRe
gistryKey.dll").getFile());
RegistryKey key = new RegistryKey(RootKey.HKLM,
"Software\\ODBC");
for (Iterator
State one difference between a template class and class template.
What is the class in java?
What language is pass by reference?
Explain the protected field modifier?
worst case complexities of Quick sort and Merge sort.
How many techniques can be employed to create a string object?
What is import java util arraylist?
Why can't we override private static methods?
Explain access specifiers?
Does sprintf allocate memory?