Often, I here about an interview question being asked that is “What is composition and aggregation ?” Or “What is the difference between composition and aggregation ?”
And trust me if you don’t know already, a lot of people (sometimes experienced developers) get stuck on this question.
The IT world is moving towards mobility. The more there are projects, the more is the need to develop mobile apps because mobile apps have become very popular in a short span of time. In this article, we will briefly discuss the advantages of mobile apps.
Apache provides an HttpClient library using which we can send get and post requests to a server. Another method for http requests is provided by the Standard HttpUrlConnection API provided java but in this article we will use the Apache HttpClient library for GET and POST requests.
Many enterprises are creating mobile applications for their internal staff, for their customers, or both. These applications need access to data, business rules, and business processes. For architectural and security reasons these applications are typically built to access remotes services that provide the data and functionality that are required by the users.
This is one of the basic question asked in interviews or in gatherings of professionals.
So here we go,
Main method is static in java because
This is just a convention. In fact, even the name main(), and the arguments passed in are purely convention.