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...


Can we declare a class in go?



Can we declare a class in go?..

Answer / Shailendra Kumar Paswan

No, Go does not have classes as in object-oriented programming languages such as Java or C++. Instead, it uses structs to represent data structures with named fields.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Go Programming Language Interview Questions

What is default value of a global variable in go?

1 Answers  


Does go (golang) support generic programming?

1 Answers  


Does go support generic programming?

1 Answers  


How can you check a variable type at runtime in go programming language?

1 Answers  


What are the function closures?

1 Answers  


What type assertion is used for and how it does it?

1 Answers  


How you to access command line arguments passed to a go program?

1 Answers  


How you can format a string without printing?

1 Answers  


Does go programming language support operator overloading?

1 Answers  


What is syntax like in go?

1 Answers  


What is a modular programming language?

1 Answers  


What is string literals?

1 Answers  


Categories