Why cant we define System.out.println() inside a class
directly?
Answer Posted / madhu
We can't because The method signature matters when you are
declaring the method. we can't give a name with
System.out.println, but we can define println()
| Is This Answer Correct ? | 4 Yes | 3 No |
Post New Answer View All Answers
When object is created and destroyed?
Which is easier netbeans or eclipse?
How we can generate random numbers in java?
Can we serialize arraylist in java?
Addition to previous section relative word 5th one was Putrid ans: rotten, also there was prob. in 1st section on bucket weight ans:10kg, also there was a prob. on train speed to find bridge length ans:800 mtrs.
What is an class?
Which is the class in java?
Why java is object oriented?
Can a class be protected in java?
What is math in java?
How big is a 32 bit integer?
Explain about java sdk?
Which browsers work with java?
Is 0 true or false?
What data structures are used to perform recursion?