The tag has no wiki summary.

learn more… | top users | synonyms

-1
votes
0answers
8 views

Calculating The Average of a Value Over a Month Java [on hold]

I am working on a project right now that is having me calculate monthly interest on a bank account. The way the interest is supposed to be calculated is as follows: Use the daily average to calculate ...
-1
votes
0answers
13 views

Graphical Linked List Java [on hold]

The question is as follows: Write a method draw to display a linked list graphically. Draw each element of the list as a box, and indicate the links with arrows. Please use this as a reference if ...
0
votes
0answers
15 views

java variable definition pattern [migrated]

I defined an array as follows: int[][] temp_blocks = new int[dim][dim]; But I got a warning: Name 'temp_blocks' must match pattern ...
0
votes
0answers
10 views

How to obtain information from foreign keys using ORM in Android? [migrated]

I'm currently using ORM in Android development. However, I seem to be pulling my hair out trying to extract information from foreign keys in the database. I have three separate tables: Player, Game, ...
-2
votes
0answers
8 views

RSA Security Java [closed]

I need help getting this RSA program working, especially using these methods. I have gotten help with the layout of the program, but i need help implementing the methods: ...
0
votes
0answers
17 views

Java Coding and Constructors [migrated]

I've recently started taking an intro java class(I apologize in advance for my lack of knowledge) and I've run into some trouble. I was required to make a program that contains 3 data fields, 2 ...
1
vote
1answer
30 views

Isn't software needed from programs to run? [closed]

I am a student who has entered a game programming competition called FBLA at school, and I sent them an email because I had a few questions about how the competition is ran. The main question I had, ...
-1
votes
1answer
35 views

Linked list implementation problem [closed]

Note its not a homework question, just practice Hi i have always seen linked list implementation in java using the following piece of code ...
1
vote
1answer
166 views

Code to get java code complexity [duplicate]

I have Java function as input and want to get it's order for example O( n ) I search in the internet very hard but didn't find any thing can help me, is there any algorithms or package may help me.
2
votes
1answer
177 views

Java, strong typing, covariance and contra-variance

While studying for a test in my OOP course, I came upon this question which had an answer I didn't really understand. The question is as follows (translated): The programming language "Sava" is ...
2
votes
1answer
271 views

Contracts for Java Bytecode

Introduction For a paper I need contracts, which are also referred to as Design by Contract (DbC)1, and conceptually go back to Hoare[2]. For my work I need to apply contracts to Java bytecode. The ...
7
votes
3answers
329 views

Inheritance, and dynamic access to members/attributes and methods in Java-like languages

I have a question about inheritance in Java-like OO programming languages. It came up in my compiler class, when I explained how to compile methods and their invocation. I was using Java as example ...
3
votes
1answer
199 views

Is the type inference here really complicated?

There's a question on SO asking why in Java the right type doesn't get picked in a concrete case. I know that Java can't do it in such "complicated" cases, but I'm asking myself WHY? The (for ...