Tagged Questions

The tag has no wiki summary.

learn more… | top users | synonyms

-4
votes
0answers
31 views

what is the better compiler Eclips vs notepad++ [on hold]

I am having some trouble with finding a perfect compiler for to use for java. some one suggested that i use eclips, but it is too complicated that I am loosing files, and cant easily retrieve them. i ...
-4
votes
0answers
17 views

jquery. Please help me with this codes [on hold]

$(document).ready(function() { $('div').click(function() { $(this).fadeOut('fast'); }); });
0
votes
0answers
7 views

Using HashMap to associate letters to numbers [on hold]

I'm trying to use Hashmap to make a dictionary of 26 key-value pairs. I'm trying to link each letter of the alphabet to a number, and then iterate through a string and letter by letter print the ...
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
votes
0answers
12 views

Write a Special Code on C# [closed]

I want to a Monitoring software for my user in one company. how i can wrote a program such a way non user be able to stop it in client? i.e, without any technique couldent stop my program or service? ...
-1
votes
0answers
19 views

k means for 2d data [on hold]

I am implementing k-means for 2d data and stuck at the part where we assign centroids and later each instance to the cluster. I wanted to know the next strategy that I should go ahead with ie. how do ...
1
vote
1answer
25 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, ...
-2
votes
0answers
17 views

Returning multiple values in if/else statement for Java [migrated]

I'm having a really hard time understanding how to exactly return a value based on multiple situations. If I choose to have return kg; from my ...
-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
162 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
165 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
244 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
314 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
198 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 ...