Programming language for game development ~ Gaming industries is growing so fast this decade. Starting from the PlayStation 1 in 1994 to the PlayStation 4 in the present day. Not to mention Xbox, Nintendo and other kinds of consoles. And the PC with steam that has over than 5000 games with varieties of genres that’s available for all of us to enjoy(including the good and the bad).
Of course, we people are demanding more games each and every year. That has been the reason why more people are interested in game development. But, the road to success is not that simple, you will not have your multi-million dollar company without starting from scratch.
Sometimes people compare these 2 programming languages on whether which one of it is better than the other. So today, I’m asking the question “Which Is Better: Java or C++?”. Now we need to look through many factors that will eventually lead one programming language as the winner.
No doubt that Java and C++ have their own advantages and weaknesses. So it can be a little hard for us to determine which one is better than the other. Both of them shares similarities either it’s on syntax or the fact that they are an object-oriented language.
But let’s not make it complicated, here is a list of differences between the two of them
Java Coffee Mug History ~ Java is a high-level programming language that has been around for a long time since its release. And now almost anyone uses it now, it’s only a small percentage of those people who know the history of the cup. Do you even know the history of it? well, in fact… the story is rather interesting as you’ll find out.
Biggest Reasons Why Java Is So Popular Amongst Programmers
Why Java Is So Popular ~ Today we’re talking about the factors that make the 20 years old programming language “Java” is still popular amongst programmers. Nowadays Java is still the most popular programming language for developing an enterprise application.
Why android use Java? ~ Java familiarity among developers and programmers has become the key to create a program a bit quicker. This applies more to google’s android mobile platform than to Apple iOS ore Microsoft Windows Phone Platform.
So from the last article I already explain to you what is a Data Structure in general and what is a Java Data Structure. Just like I promised in that craftingez6-coding post, within this 2 post I’ll explain to you the Java Data Structure (interface and classes) one by one.
Enumeration is a type of Interface, enumeration itself is not actually a data structure, but it surely is very very important to the context of the other data structures. The enumeration interface means to retrieve a successive elements from a data structure.
Enumeration could define a method called nextElement. And that method is used to get the next element inside the data structure that contains more than 1 elements.
BitSet is a type of class that implements a group of, guess what? “bits” or flags that you / the person can set and clear individually. This type of class is very useful in some cases where you need to keep up to code a set of Boolean values; you could just assign a bit to each value then set or clear it as appropriate
Vector class actually have similarities with a traditional Java array. Well except that Vector class can grow as necessary to accommodate new elements.
Just like an array, the elements that is inside the Vector object can be accessed via index into the vector. You know what, the nice thing about Vector is that you doesn’t have to worry anymore about setting the elements into a specific size upon creation, it’ll actually grows and shrinks automatically when it is necessary.
Stack class in java implements the last-in-first-out (LIFO) stack of elements. Imagine this illustration, you can imagine stack literally as a vertically stacked objects on top of each other.
When you add new objects, it will get stacked on top of the others (the last object).
Then, when you pull an element off from that stacked objects. The last object will be the first object to come back off again.
This dictionary doesn’t literally mean a dictionary, but it is rather an abstract class that defines data structure for mapping key to values. This kind class is useful whenever you want to access data via particular key rather than using an integer index.
Since the dictionary class is abstract, the class only provides the framework for a key mapped data. Rather than some specific implementation.
first of all lets break it down to pieces : Data and Structure.
What is a data? Googling on the internet said :
Philosophy “things that is probably known or assumed as facts, making the basis of reasoning or calculation”. Computing “the quantities, characters, or symbols on which operations are performed by a computer, being stored and transmitted in the form of another electrical signals and recorded on magnetic, optical, or mechanical recording media“
So, folks.. first of all what goes through your mind when you hear “modify”, well for me when I hear that word the simplest meaning is to “change”. So what is a modifier, basically modifiers (In java) are a keywords that you can add to those definitions to change their meanings. In the java language there are a wide range of variety for java modifiers types, including the following modifiers :
What is the multi threading programming that we used is Java, hear this.. Java is actually a multi-threaded programming language and by that Java can let us develop a multi-threaded program.
Do you know what a multi-threaded program is? well a multi-threaded program contains two or more than two parts. Which runs concurrently and each of that one part can handle different task (i.e codes that contains methods, constructors etc) at the same equal time. This can actually improves the optimal use of the available resource, if you have multiple CPUs.
Basically multi threading programming takes the idea of multi tasking. Which is “doing more than 1 activities at the same time”. Multi tasking in our terms it means when a multiple processes share a common process resource such as a CPU. Continue reading Multi Threading Programming (Java)