Why cant we define System.out.println() inside a class
directly?
Answer Posted / chandan
because a class is a logical structure and its definition is
group of entities but when we need some functionality we
need to define inside the function
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What is bytecode in java ?
What does pointer mean?
What is append in java?
What is a Presistent Object?
Can a class be declared as protected?
What do you mean by multithreaded program?
Name four container classes.
What are kinds of processors?
what is mutual exclusion? : Java thread
Is singleton set an interval?
Explain the importance of join() method in thread class?
Write code to implement bubble sort in java?
What are 5 boolean operators?
What is meant by singleton class?
What is difference between path and classpath?