- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 7
- Posts with Downvotes
- 5
- Downvoting Members
- 6
21 Posted Topics
hello everybody. i have formatted my desktop and after formating i couldn't get another drive, other than C drive. i think some unallocation problem.. please help me to get my D drive back as that contain my important documents. thanks..
can we return 7 elements of an int array using return statement. if not, please help?
hello, can anyone tell me how to convert int array to string?
hello everyone, I have implemented RSA algorithm in java but now i am asked to determine the time for encrypting variable length messages(plain text). As an example, i have to find the time in which input message of length 3 will get encrypted, similarly the time in which input message …
hello everyone, help me in centering the frame which i developed using swing. Here is the code: [CODE] import javax.swing.*; public class RSAInterface extends JFrame { public RSAInterface() { setTitle("RSA by adil"); setBounds(200,200,300,300); setResizable(false); setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); JPanel panel = new RSAPanel(); this.add(panel); } } [/CODE] [CODE] import javax.swing.*; public class RSAInterfaceTest …
hello, is there any function in java that can give me 2^n binary combinations. as an example, if the value of n = 2, output should be: 00, 01, 10, 11 ??
give some more detail about your problem statement?
can anyone tell me how to get out of the error Connection refused: connect thanks in advance
Can anyone help me to convert String to BigInteger. please
hello, i have written the below piece of code for calculating the power function, but when i run the program, it shows the wrong result and i verified it by calculating manually. so please help me to get the correct result. [CODE] public class powerFunction { public static void main(String …
hello everyone.. i have studied the beginning java, can you please suggest me any small project that will brush up my concepts.
Ihave written the below pieces of code, but i am not able to solve the compilation error here as it shows the error as ArrayOutOfBoundsException error. so please tell me hw to remove the error and please bring the necessary changes. [CODE] import java.util.*; public class Cipher { private int …
i am doing the coding of my minor project and for that i need to convert an input text(String) to an int type as i am inputting the data through swing component, panel as text(string). But internally i need to process that as int. so please tell me how can …
[CODE] public static void main(String[] ar) { ..... int N = Integer.parseInt(args[0]); ..... } [/CODE] Error is : Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0
Use access modifiers with postal 1 and postal2 and then use get() and set() methods for these two strings so that you can refer to them at any place using the get() methods.
write the code as below: [CODE] if(a < 1 || b < 1 || c < 1 || d || 1) { System.out.print("Invalid Input"); break; } [/CODE]
please check the following piece of code and give the correct code as my program is showing some error. here is the code. public class passingArray { public int getCipherText(int[] c, int len) { int cipher = 0; int e = 7; int n = 130; cipher = (int)((Math.pow(c[len],e)) % …
please tell me how to convert an integer type to a String. if possible, give some code?
please give some piece of code that will make me understand that how to pass an array to a method/function?
Since i am new to java, so please tell me that is there any way by which i can convert integer array to primitive int?? if yes, give some code.
i need to return the ASCII value of the argument passed in the StringtoIntfunc(). But i am not getting the real ASCII values and i think the problem is with the return statements? please help. public class StringIntfc { public int[] StringtoIntfunc(String s) { int j =0; int k[] = …
The End.
adil_bashir