answersLogoWhite

0


Want this question answered?

Be notified when an answer is posted

Add your answer:

Earn +20 pts
Q: How do I convert a code to only having one class but also having a player and enemy working off of the one class in the python programming language?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

What are the disadvantages of having too many features in a language?

Awareness of a wider variety of programming language features can reduce limitations in software development.


What is meant by development and deployment in java programming language?

These terms are not limited to Java programming. Development refers to anything having to do with creating a program. Design and implementation fall under this category. Deployment is delivering the program to other people.


Is 8051 programming is a programming language?

8051 programming refers to the Intel 8051 micro-controller. This is a small computer on a single chip having electronic input output that is used to control simple machinery.The 8051 uses an instruction set consisting of binary codes and data that may be used to describe the algorithms that the microprocessor runs. These instructions are published by Intel with a set of mnemonic words that are designed to enable the programmer to remember the instructions. These mnemonics are not part of a formal programming language because they have no syntax apart from the instruction and data values for each command that the processor might execute.The instructions could be placed in any order such that no particular algorithm is expressed.A formal programming language however requires structure and syntax that describes the algorithm as an abstract concept apart from the system that might run the program. A programming language, such as C, C# or Java will be portable across machines but 8051 assembly code will only run on that processor.In short then, the 8051 assembly code is not a programming language as such.


What are the attributes of good programming languages?

There are many attributes that make up a good programming language. Here are some of the most important ones: Readability: A good programming language should be easy to read and understand. This makes it easier for developers to write and maintain code, and reduces the likelihood of errors. Maintainability: A good programming language should be easy to maintain and update. This includes having clear and concise syntax, as well as tools for debugging and testing. Performance: A good programming language should be efficient and fast. This includes having a low memory footprint, minimal overhead, and fast execution times. Portability: A good programming language should be portable, meaning it can run on different platforms and operating systems without significant changes. Flexibility: A good programming language should be flexible enough to accommodate different programming styles and paradigms, as well as be extensible with libraries and frameworks. Safety: A good programming language should prioritize safety and prevent common programming errors, such as null pointer dereferences or buffer overflows. Community: A good programming language should have a supportive and active community of developers who contribute to its development, documentation, and maintenance. Tooling: A good programming language should have a robust ecosystem of tools, such as editors, IDEs, and build systems, that make development and deployment easier and more efficient. Scalability: A good programming language should be able to scale with the needs of the project, whether it be a small script or a large-scale enterprise application. Future-proofing: A good programming language should be designed with a long-term vision, taking into account future developments in hardware, software, and technology trends.


What is object oriented paradigm in java?

the concept of "pure" in object orientation is a little subjective and not quite well defined in practice, but there are pure object oriented programming languages. The principles of object orientation on the other hand are well defined. Programming languages are quite nested in complicated materials, and it is hard to say that everything must be an object, since all formal systems need primitives. How can you define an object without the notion of an object as a definition? This all comes down to type theory, and one can't define everything as "something" without knowing the "something". With this, Java is not actually a pure object oriented programming language since it needs primitives. The only way you can yield a pure programming language with no primitives is not even having the notion of defining concrete terms in a programming language since it doesn't have primitives in it.Smalltalk is an example of a pure programming language. With this, I can't exactly answer the question since you've presented two OO programming languages, neither of which is "pure".-Fabianski BenjaminIndia

Related questions

Why is programming language named C and not simply C?

I am guessing you typed the question wrong, the way I understand your question is "Why is the programming language named C++ and not C ? " The answer to this is that there is a programming language called C, and in that programming language the ++ means increment by one. So C++ is the language C improved, as such it can read and compile all C programs in addition to having other features that C does not have.


What are the disadvantages of having too many features in a language?

Awareness of a wider variety of programming language features can reduce limitations in software development.


Write any five uses of c-language?

Programming. Making a livelihood. Sending time. Having fun. Boasting.


What is the purpose of having more than one programming language?

No programming language is perfect. Each one tends to excel at solving one or more types of problem, but is unsuitable for other problems. We have many languages so that we can pick a language which is suitable for the particular problem we're facing.


What are the importance of having a working knowledge of business English and correspondence?

It is good to having working knowledge of Business English because you can talk to many people around the world. English is a universal language.


What is meant by development and deployment in java programming language?

These terms are not limited to Java programming. Development refers to anything having to do with creating a program. Design and implementation fall under this category. Deployment is delivering the program to other people.


When garbage value occur in c?

Garbage data in C, or in any programming language, occurs when a variable is read without having been initialized first.


What is your opinion from my channel spanish?

My opinion of the Spanish Channel is that I think it is great that there is dedicated programming for Spanish speaking people to watch. Some shows can lose humor after being translated so having programming in an original Spanish language is wonderful.


How would you improve a program?

You would improve a program by first debugging, then having beta testers test the program to find any other issues. You would then fix those issues. Depending on the programming language used, you could also consider using as less lines of code possible for faster execution. Another, final way is to convert the program to a modular programming style for easier maintenance of the code.


What is computer language programming?

A computer programming language is any type of code that you can use that is then changed into binary so the computer can read it. An example of that would be the computer programming language python. Instead of having to input a huge amount of binary information to tell the computer to put the words "hello world" onto the screen, I can simply type: print "hello world" then tell it to run.


Write a program in C programming language that computes the roots of the quadratic equation ax2 plus bx plus c?

Write your program and if you are having a problem post it here with a description of the problem you are having. What you are asking is for someone to do your homework for you.


What is the importance of inheritance in java programming?

Inheritance is one of the most important features of any object oriented programming language such as Java. This is because it makes easier to build new classes from existing classes without necessarily having to rewrite the same lines of code.