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

What does the exclamation mark mean in java?

1168


Is it possible to write a regular expression to check if string is a number?

971


we have syntax like for(int var : arrayName) this syntax is to find whether a number is in the array or not.but i want to know how to find that number's location.

1985


Can we overload the methods by making them static?

945


Can arraylist hold different types java?

923


What is array command?

1091


What does compareto () do in java?

948


What is close method? How it's different from Finalize & Dispose?

998


Under what conditions is an object’s finalize() method invoked by the garbage collector?

977


Is oracle java 11 free?

900


What is a arraylist in java?

994


What is a vector in java?

972


What is local class in java?

1024


What is diamond operator in java?

896


Can final class have constructor?

863