How are formal semantics used in programming?

Is Java used for Application programming or System programming?

  • In majority of cases, for what Java is used for(app or sys programming)? and what about C and C++?

  • Answer:

    Java is an application programming language. Java code compiles to code that is interpreted by the JVM (Java Virtual Machine) which then executes the commands on the host system. This is why a Java program can be written on any platform, and run on any other platform. C and C++ can be used for both system and application programming. They compile to machine code.

YDXUDYAAPUC3U7YPQAH6XMPRLQ at Yahoo! Answers Visit the source

Was this solution helpful to you?

Other answers

We are using Java to connect to multiple exchanges around the world and trading where timing issues are very important so from that point of view Java is definitely fast enough for time sensitive applications.

tpjava

It can be used for both ; however, best used for Application programming, as it's very good with user interface stuff

Fudge

Java can be used for either, but is typically for Application Programming. For system level programming, you'll find more C since it doesn't have the OO overhead that you'd find in Java, C#, C++, or other OO programming languages. @♥ Romeo ♥ - Java is not the slow/cumbersome language that you may remember. Maybe if the last version you looked at was from 2000, you might have a case, but Java/JVM has made significant improvements to shake that problem.

Jim Maryland

application programming means the application runs on your machine on system,,,,,,system programming means the operating system............ application programming can develop your desktop application which runs on operating system system programming develops the Operation systems...

Navdeep

There are no set rules of what language to use for what but there are common uses. Java can be used for online programs (applets in the browser) which is its most common use, it can also be used to create applets to run on the computer like a program. C and C++ are usually used for system programming, I would imagine that windows itself was programmed in C++ (which is a more advanced version of C and C#) - also the majority of programs for windows are programmed in C++. Other languages can include; Flash - games and adverts online. Pearl - programs. Xcode - Mac programs / ipod programs. VB - progams. PHP - websites. HTML - websites. The list goes on and on.

Java is meant for Application Programming which is platform independent. "Write Once Run Anywhere" System programming generally has their challenge of dealing with memory and how system behaves so it can be done in better manner with help of C/C++ as they do have features for directly dealing with memory and system resources. Hope this helps Cheers:)

Neeraj Yadav♥

Java is for applications. C, C++ is for both application and system = more powerful languages.

SubzeroHackmaster

Application I think.

Peace, please? :)

Java is used mostly in network programming applications for servers. Its too slow and cumbersome for system or game or general programming for Windows.

♥ Romeo ♥

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.