Page 2 of 2 FirstFirst 12
Results 16 to 23 of 23
  1. #16
    Senior Member
    Join Date
    Jun 2018
    Location
    australia
    Posts
    165
    It isn't correct to compare Java to PHP. Since PHP is a server-side scripting language whereas Java is a general-purpose language. In other words, PHP is only used as a server-side language where Java is both for server-side and desktop programming language. Moreover, Java is compiled and strongly-typed language.

  2. #17
    Senior Member
    Join Date
    Mar 2018
    Location
    Delhi
    Posts
    284
    These both are the totally different technologies you are comparing. If you Google it, you can get the very good stuff about this.

  3. #18
    Member
    Join Date
    Jul 2018
    Posts
    30
    It isn't correct to compare Java to PHP. Since PHP is a server-side scripting language whereas Java is a general-purpose language. In other words, PHP is only used as a server-side language where Java is both for server-side and desktop programming language. Moreover, Java is compiled and strongly-typed language.

  4. #19
    Senior Member
    Join Date
    Jun 2018
    Location
    australia
    Posts
    165
    It isn't correct to compare Java to PHP. Since PHP is a server-side scripting language whereas Java is a general-purpose language. In other words, PHP is only used as a server-side language where Java is both for server-side and desktop programming language. Moreover, Java is compiled and strongly-typed language.

  5. #20
    Registered User
    Join Date
    Sep 2018
    Location
    Bangladesh
    Posts
    23
    Some differences between Java and PHP:
    1. Java is strong and statically typed, while PHP is rather weakly and dynamically typed.
    2. Java is compiled to bytecode, PHP is interpreted.
    3. PHP methods and functions allow for optional parameters. In Java, a separate method must be defined for each possible list of parameters.
    4. PHP requires an explicit $this be used when an object calls its own methods. Java does not.
    5. Constructors in Java are named after the class name. In PHP they are called __construct()

  6. #21
    Registered User
    Join Date
    Sep 2018
    Posts
    13
    PHP is a scripting language where as JAVA is a client side programming language. In other words, PHP is only used as a server side language where java is both for server side and desktop programming language.

  7. #22
    Junior Member
    Join Date
    Jun 2018
    Posts
    5
    PHP is one of the most mature, ubiquitous server-side scripts on the web. Java is a general-purpose, compiled programming language

  8. #23

Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

  Find Web Hosting      
  Shared Web Hosting UNIX & Linux Web Hosting Windows Web Hosting Adult Web Hosting
  ASP ASP.NET Web Hosting Reseller Web Hosting VPS Web Hosting Managed Web Hosting
  Cloud Web Hosting Dedicated Server E-commerce Web Hosting Cheap Web Hosting


Premium Partners:


Visit forums.thewebhostbiz.com: to discuss the web hosting business, buy and sell websites and domain names, and discuss current web hosting tools and software.