Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
12% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
7
Posts with Downvotes
5
Downvoting Members
6
5 Commented Posts
0 Endorsements
Ranked #4K

21 Posted Topics

Member Avatar for adil_bashir

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..

Member Avatar for jbennet
0
135
Member Avatar for adil_bashir

can we return 7 elements of an int array using return statement. if not, please help?

Member Avatar for NormR1
0
115
Member Avatar for adil_bashir
Member Avatar for adil_bashir

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 …

Member Avatar for DavidKroukamp
0
269
Member Avatar for adil_bashir

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 …

Member Avatar for Hazem Nassr
0
133
Member Avatar for adil_bashir

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 ??

Member Avatar for stultuske
0
64
Member Avatar for vgpans
Member Avatar for stephen84s
0
92
Member Avatar for adil_bashir

can anyone tell me how to get out of the error Connection refused: connect thanks in advance

Member Avatar for adil_bashir
0
64
Member Avatar for adil_bashir
Member Avatar for adil_bashir

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 …

Member Avatar for dantinkakkar
0
182
Member Avatar for adil_bashir

hello everyone.. i have studied the beginning java, can you please suggest me any small project that will brush up my concepts.

Member Avatar for stultuske
0
151
Member Avatar for adil_bashir

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 …

Member Avatar for adil_bashir
0
182
Member Avatar for adil_bashir

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 …

Member Avatar for adil_bashir
0
192
Member Avatar for adil_bashir

[CODE] public static void main(String[] ar) { ..... int N = Integer.parseInt(args[0]); ..... } [/CODE] Error is : Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0

Member Avatar for adil_bashir
0
103
Member Avatar for moe0

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.

Member Avatar for DavidKroukamp
0
82
Member Avatar for Valiantangel

write the code as below: [CODE] if(a < 1 || b < 1 || c < 1 || d || 1) { System.out.print("Invalid Input"); break; } [/CODE]

Member Avatar for DJSAN10
0
94
Member Avatar for adil_bashir

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)) % …

Member Avatar for DavidKroukamp
0
246
Member Avatar for adil_bashir

please tell me how to convert an integer type to a String. if possible, give some code?

Member Avatar for stultuske
0
178
Member Avatar for adil_bashir

please give some piece of code that will make me understand that how to pass an array to a method/function?

Member Avatar for adil_bashir
0
189
Member Avatar for adil_bashir

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.

Member Avatar for adil_bashir
0
263
Member Avatar for adil_bashir

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[] = …

Member Avatar for DavidKroukamp
0
132

The End.