2
votes
5answers
69 views

Not returning values, from a function with non-void return type

I read here on SO how : In C++ : Not returning from a non-void function is undefined behavior. ... analysis requires inspection of the entire program, which is incompatible with separate ...
-10
votes
2answers
68 views

Write a java program for a report card [closed]

Can anyone please write a java program for a report card that accepts name of students, marks of 5 subjects. Compute total percentage, highest marks, lowest marks. assume that there are 40 students in ...
1
vote
2answers
35 views

In a function prototype it shows an error

it shows cannot find symbol- class string I am writing a program for a report card. This function is to accept names. Pls help public static string accept_name() { String STR[]=new String[40]; ...
-10
votes
2answers
50 views

How to store a returned object from a method in a new object in the main method in JAVA [closed]

It shows array dimension missing. new obj[] = mark_entry(); where mark_entry() is a method.
0
votes
2answers
60 views

Instance methods [closed]

........................................................................................................................
0
votes
5answers
59 views

Pass references by value Java [duplicate]

I have the following code: public class PassReferenceByValue { static void modify(String m) { m = "Else"; } public static void main(String [] arg) { String ...
-2
votes
2answers
32 views

Java: nested class function?

ob is an instance of an object. If I call the function getname it returns the class type ob.getClass().getName() My doubt is, how come getclass and getname are 2 functions, are they some how ...
0
votes
0answers
22 views

EMV TLV Java Function

I'm looking for a way to translate an EMV response with Java like with this online option: http://www.emvlab.org/tlvutils/ where you put something like this EMV response: ...
2
votes
1answer
55 views

How to timeout for a Public method in Java?

I've searched for a while but I didn't found a concrete unique solution for this problem, some use function methods like .setTimeout(...) or so, but I just want to set timeout to one of public methods ...
0
votes
2answers
44 views

Printing Specific Pattern using for Loop in Java

i have to print specific pattern using Java for loop . Input will be 4 characters eg. a, b , c, d now what i have to print is aaaa aaab aaac aaad aaba abbb ...
-1
votes
0answers
74 views

Circular linked list in java. Remove function not working?

I am trying to write a circular linked list in Java but my remove function isn't working. Here is the ListItem class: package ci284.ass2.cl; public class ListItem<T> { T data; ...
3
votes
4answers
151 views

Java's methods vs. functions [duplicate]

I just decided to integrate my MATLAB programming skills with some more consistent and rigorous Java coding. Therefore I hope it's not gonna be a too naive question. I'd like knowing if there is any ...
0
votes
1answer
34 views

Internet service provider locator

Is there any function that can get your Internet service provider information? In other words, when you're connected to Wi-Fi at any place or even 3G; can you get the ISP of the network you're ...
-2
votes
1answer
52 views

How to include javascript functions from java code? [closed]

I have this javascript code: <script type="text/javascript"> function CopyToClipboard() { CopiedTxt = document.selection.createRange(); CopiedTxt.execCommand("Copy"); ...
0
votes
1answer
20 views

How to call HSQLDB Function MONTHS_BETWEEN?

I'm trying to execute the follow SQL: select months_between(sc.dat_initial_period, hp.dat_signup) + 1 as months from harvest_partner hp inner join sales_commission sc on ...

1 2 3 4 5 25
15 30 50 per page