Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
88% Quality Score
Upvotes Received
8
Posts with Upvotes
8
Upvoting Members
6
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
1 Commented Post
0 Endorsements
Ranked #864
~34.8K People Reached
About Me

Java Programmer

Interests
Music
Member Avatar for prem2

Hi, In C program Function has three parts, Function Declaration. Function Definition. Function Calling. In java i cannot able to declare a function .Is it possible to declare a function in Java. For example: [code] import java.io.*; import java.util.*; class Fun_example { // show();//Cannot able to Declare a Function ? …

Member Avatar for JamesCherrill
0
4K
Member Avatar for java_programmer

I am trying to develop an application where user will upload a file from screen, the file will be processed in server side. I am using Adobe Flex for UI, Spring 3.2 as middleware and Java 5. I can successfully upload the file and in server side can get the …

0
145
Member Avatar for java_programmer

I have a question - how mwmory is allocated when any data structure is declared? Suppose I have declared a list as follows - List<Integer> lst = new ArrayList<Integer>(); How many bytes will be allocated for that variable or initially no memory will be allocated? Memory will be allocated when …

Member Avatar for jessicarobort
0
243
Member Avatar for java_programmer

I have found a strange problem in my Ubuntu 12.04 laptop. When the machine is started, everything is working fine. But if I press the Right Shift key, the keyboard starts to work abnormally as follows - 1. All the letter keys is displayed in uppercase even if the caps …

Member Avatar for Stuugie
0
792
Member Avatar for java_programmer

* I use Remmina as remote desktop client to use my Windows 7 machine from Ubuntu 12.04 machine. It was working fine, but suddenly stopped working. Whenever I try, get the following message - **Failed to startup SSH session: Connection refused**. Then I tried with another Remote Desktop client such …

0
156
Member Avatar for java_programmer

I have a requirement where value of one field in an object will be determined dynamically using a configurable table. For example, suppose I have the following table - Pk | Reference_column ---------------------- 1 | TAB_REF.AMOUNT where TAB_REF is a reference table and AMOUNT is one of the column of …

Member Avatar for NormR1
0
118
Member Avatar for prem2

Hi team, Can any one say what is instance Method in java ? *Method Overriding Concept? Thank you, with Regards, Prem

Member Avatar for JamesCherrill
0
2K
Member Avatar for java_programmer

I was trying to run a shell script and run it through Cygwin terminal in XP environment. The script I have written is as follows - [CODE]#!/bin/bash read -p "Enter Your name - " fname if test "$fname" == "abcd" then echo "Thank you abcd" fi[/CODE] When I am trying …

Member Avatar for java_programmer
0
685
Member Avatar for java_programmer

I was trying to run a shell script and run it through Cygwin terminal in XP environment. The script I have written is as follows - [CODE]#!/bin/bash read -p "Enter Your name - " fname if test "$fname" == "abcd" then echo "Thank you abcd" fi [/CODE] When I am …

Member Avatar for rubberman
0
144
Member Avatar for java_programmer

I am trying to write a shell script which will read a file and counts the number of vowels in the file. The code which read the file is as follows - [CODE]while read -n 1 c do l=$(echo $c | tr [:upper:] [:lower:]) [[ "$l" == "a" || "$l" …

Member Avatar for java_programmer
0
185
Member Avatar for java_programmer

I have two OS in my Dell vostro laptop - Windows XP and Ubuntu 10.04. In XP, the wireless is working fine, but in Ubuntu, it is not working. I have checked the wirless driver from System -> Hardware Drivers, it is installed and is in active state. The wired …

Member Avatar for jbennet
0
262
Member Avatar for java_programmer

I am a newbie in linux. After installing ubuntu 10.04, I tried to install google talk in linux. For this, I installed Wine and then downloaded the gtalk exe. But when I am trying to open the gtalk exe using Wine, it blocks the application with message it is not …

Member Avatar for beth22
0
361
Member Avatar for java_programmer

Hi, I am a new users to Linux and I am using Ubuntu 11.04. In my laptop, I have two logical drive C:\ and D:\. I have installed Windows XP in C drive and Ubuntu in D drive. From Ubuntu, I can mount the C drive and can access the …

Member Avatar for java_programmer
0
326
Member Avatar for java_programmer

I have Ubuntu 10.04 installed in my machine. I have set up audio drivers properly so that it was working fine. But when I was listening music in Youtube, it suddenly stoped working. Though the headphone is working, but the speaker is not. I have checked, all the drivers are …

0
88
Member Avatar for java_programmer

Hi, I got a problem connecting my wirelss network from my Dell Vostro laptop. The OS is Windows XP-SP3. The network card is Dell 1394 Adapter card. When I checking the device manager, it says the device is working properly and the driver also installed. The m/c can detect all …

Member Avatar for jingda
0
90
Member Avatar for java_programmer

I am using Ubuntu 11.04 and using Empathy as chat client. I have added my gmail and yahoo account in the Empathy and they are working fine. I can now chat with friedns without any problem. But when I am trying to voice chat, I can't hear from friends but …

0
76
Member Avatar for java_programmer

I am trying to write a simple servlet program. But getting the error The requested resource (/servletexam/LoginServlet) is not available. I have created two servlet classes as follows - [B]LoginServlet[/B] [CODE] public class LoginServlet extends HttpServlet { Hashtable<String,String> users = new Hashtable<String,String>(); public void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, …

Member Avatar for java_programmer
0
295
Member Avatar for java_programmer

I am trying to write a simple servlet program. But getting the error [B]The requested resource (/servletexam/LoginServlet) is not available[/B]. I have created two servlet classes as follows - [B]LoginServlet[/B] [CODE] public class LoginServlet extends HttpServlet { Hashtable<String,String> users = new Hashtable<String,String>(); public void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, …

Member Avatar for ArtistScope
0
150
Member Avatar for mandy011

Hi all, I have implemented some code for simple columnar encryption. The algorithm is encrypting properly as I want. But during decryption it's giving me some errors. Please go through and suggest me if any idea [code] public static void encrypt(RandomAccessFile f,RandomAccessFile d,int columns) throws Exception { d.seek(10); // SEEK …

Member Avatar for mandy011
0
154
Member Avatar for tracydo

Hi I need help with the while loop and read from a file to find monthly mortgage payment from the input of Principle, Interest & Term in years. I know I may did something that doesn't make sense here, please take a look and let me know. Thank you in …

Member Avatar for ztini
0
213
Member Avatar for Slyvr

How do you determine what the main hard drive is? This is what I have: [CODE]filename="savefile2.txt";[/CODE] and this is pseudocode for what I want: [CODE]filename="MainDrive:/JavaProject/savefile2.txt";[/CODE] My problem with it is, what if C: isn't the name of a person's hard drive? F:\ for instance. And also, if the folder name …

Member Avatar for java_programmer
0
145
Member Avatar for mihir3646

[CODE] class Switch { public static void main(String args[ ]) { String season; int month =10; switch(month) { case 12: case 1: case 2: season = "Winter"; break; case 3: case 4: case 5: season = "Spring"; break; case 6: case 7: case 8: season = "Summer"; break; case 9: …

Member Avatar for java_programmer
0
122
Member Avatar for tinamary

what is the use of constructors in java when we can intialize objects directly

Member Avatar for peter_budo
0
175
Member Avatar for noneta

hi all,, i really don`t know what its wrong in my code ,,, what i want its the user print the sentence and the program count eash sentence and devide it here is my code,,hope u help me :) [code]import javax.swing.*; public class tracing { public static void main(String args[]) …

Member Avatar for Ezzaral
0
126
Member Avatar for BLUEC0RE

Hey! I started using java this year and I finished a java project but when I try moving it somewhere else in my directory it does not execute anymore. My project directory tree goes like this (I am using eclipse)... (ignore the "-") /Root - /bin -- JavaProgram.class -- JavaProgramMain.class …

Member Avatar for BLUEC0RE
0
222
Member Avatar for java_programmer

I am writing a tiny program to learn Spring framework. My application will just print a message which is binded with the view in the server side. My jsp is as follows : [CODE] <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> <html> <body> <p>This is my message : ${message}</p> </body> </html> [/CODE] …

0
81
Member Avatar for java_programmer

in my laptop, some of the key which has some functional value associated with it is not working properly. For example, if i press the 'i' key, the value displayed is 5. But if i type Fn+i, it prints i. Similarly m - 0, k - 2, l-3,u-4, p - …

Member Avatar for oneillj
0
46
Member Avatar for Xufyan

I had an assignment to create a calculator in two ways, 1) Method returning values. 2) Method without returning values. I've done this with methods returning values but how could i add, subtract, divide , multiply without returning a value from methods ? [CODE]import java.io.*; class first{ int a=5,b=2,c; public …

Member Avatar for java_programmer
0
145
Member Avatar for java_programmer

I was trying to develop an application with Derby. I have java 6 installed in my machine. But I couldn't find any derby.jar or derbytools.jar under my java installation directory. Should I have to install it seperately? As per as I know, it installed automatically with JDK 1.6.

Member Avatar for JamesCherrill
0
51
Member Avatar for java_programmer

Currently, reliance icall does not support any versions of linux. Is there any way to install it in any linux versions using some bridge software or third party software?

Member Avatar for brandonrunyon
0
93