+-+-+ +-+ +-+-+-+-+
|G|O| |4| |H|I|V|E|
+-+-+ +-+ +-+-+-+-+

 --- A GOPHER-LIKE INTERFACE FOR HIVE BLOCKCHAIN ---

programming language difference JAVA and C?

BY: @andrjdv | CREATED: Dec. 18, 2017, 3:16 a.m. | VOTES: 3 | PAYOUT: $0.00 | [ VOTE ]

Someone can explain diff between JAVA and C language? im finish to study C and now im going for JAVA

TAGS: [ #programming ] [ #java ] [ #c ] [ #code ] [ #script ]

Replies

@maxg | Dec. 18, 2017, 3:53 a.m. | Votes: 1 | [ VOTE ]

Java and C are both C-syntax languages with curly braces, semicolons, and similar methods of variable and pointer declaration (kinda). They both have a long history of use in enterprise software. They both allow for pretty low-level operations depending on what frameworks/packages you're running with. If you can read C/C++, it's usually pretty easy to follow along with Java. The reverse isn't always true.

The biggest difference is that C runs on bare metal and Java runs in a VM. When you compile C to bytecode, that bytecode can be run directly by your processor. When you compile Java, that bytecode is run by an intermediate program called the Java Virtual Machine. This means that Java is a bit slower than C, but still extremely fast compared to interpreted languages like Python. It also means that you can't use Java as a systems language, e.g. you can't write an operating system in it.

Of course, there are tons of other differences and either language would take years of dedicated effort to truly master. If you have more specific questions I can elaborate further :)

@andrjdv | Dec. 18, 2017, 4:07 a.m. | Votes: 0 | [ VOTE ]

thanks

@steemitboard | Dec. 18, 2017, 6:06 a.m. | Votes: 1 | [ VOTE ]

Congratulations @andrjdv! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

[IMAGE: https://steemitimages.com/70x80/http://steemitboard.com/notifications/firstpost.png] You published your First Post
[IMAGE: https://steemitimages.com/70x80/http://steemitboard.com/notifications/firstvote.png] You made your First Vote
[IMAGE: https://steemitimages.com/70x80/http://steemitboard.com/notifications/firstvoted.png] You got a First Vote
[IMAGE: https://steemitimages.com/70x80/http://steemitboard.com/notifications/firstcomment.png] You made your First Comment
[IMAGE: https://steemitimages.com/70x80/http://steemitboard.com/notifications/votes.png] Award for the number of upvotes

Click on any badge to view your own Board of Honor on SteemitBoard.
For more information about SteemitBoard, click here

If you no longer want to receive notifications, reply to this comment with the word STOP

> By upvoting this notification, you can help all Steemit users. Learn how here!

[ BACK TO TRENDING ] [ BACK TO MENU ]
CMD>