Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

How to sort an unsorted array in java?

1129


Why java is said to be pass-by-value ?

1036


What is ternary operator in java?

1065


Why java is call by value?

1028


What is the numeric promotion?

1021


Can we pass null as argument in java?

943


Can I overload to string method

1439


What is the purpose of void class?

1064


How do you ensure that n threads can access n resources without deadlock?

1306


What is thread safe java?

915


What is static keyword?

1140


What is finalize() function in java?

1009


What is the difference between jdk and jre?

1061


What is the difference between scrollbar and scrollpane?

1084


Name few "optional" classes introduced with java 8 ?

1134