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

Can we declare array without size in java?

972


How do you access command-line arguments within the code?

1015


Can array grow dynamically in java?

923


Can we have any code between try and catch blocks?

939


Can list be final in java?

877


What is the purpose of main function in java?

988


What is meant by interface?

1022


What is oop principle in java?

1067


how is final different from finally and finalize in java?

1005


How do you compare values in java?

993


What is command line argument

1164


What is main method?

1003


What is passing value java?

1008


Name few java util classes introduced with java 8 ?

884


What is adapter in java?

880