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 / venkatachalapathy

we Directly write this line i.e System.out.println()
directly inside a class because println method is static
method in output stream class which are sub classes of
system class.
so every time this method is overridden in our program....
so static methods doesnt require a creation of object.....

Is This Answer Correct ?    3 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between int and integer in java?

1083


What is data string?

1047


What do you mean by singleton class in java?

955


What is one third plus one third as a fraction?

993


What is the use of singleton class?

1012


What are the main uses of java?

1032


Do loops java?

1067


Define how can we find the actual size of an object on the heap?

1285


What is procedure writing?

1061


Can we use string in switch case in java?

1131


How can I debug the Java security exceptions and AccessControlExceptions?

1198


What are the 6 functions?

1024


What are use cases?

1015


What is meant by flickering?

1130


What is the impact of declaring a method as final?

1072