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

because a class is a logical structure and its definition is
group of entities but when we need some functionality we
need to define inside the function

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to display all the prime numbers between 1 and n (n is the number, get the input from user)

928


How big is a pointer?

982


How do you use spaces in java?

944


How the interruptible method gets implemented?

912


Explain the selection sort algorithm?

1005


What is array pointers ?

979


Why can't we override private static methods?

922


What is the loop in java?

1050


Can I extend singleton class in java?

1038


Does .length start 0 java?

955


What is the difference between class forname and new?

944


What are the 8 data types in java?

936


Which container method is used to cause a container to be laid out and redisplayed in java programming?

1050


What does void * mean?

954


What is anagram in java?

862