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
~35.9K People Reached
About Me

Java Programmer

Interests
Music

96 Posted Topics

Member Avatar for prem2

In a few sentence, in Java, you don't need to declare a Function first and then define it and then invoke it. You can simply define it and use it. However, if you still want to declare function, then you can use Interface, where you declare your function and then …

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
162
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
247
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
806
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
123
Member Avatar for prem2

Instance method - method defined in a class which is only accessable through the Object of the class are called Instance method. Method Overriding - If you extends a class and have a method in the subclass with same name and signature as of the superclass, then it is called …

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
694
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
162
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
192
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
265
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
363
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
330
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
97
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
306
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
154
Member Avatar for mandy011
Member Avatar for tracydo

Check the line numbers 60, 71 and 83. It should be System.out.println instead of system.out.println because in java, there is no package named system, it is System. Correct it and then check if you are still getting problem.

Member Avatar for ztini
0
221
Member Avatar for Slyvr
Member Avatar for mihir3646

Go through the IO section of java, can try the following link - [url]http://download.oracle.com/javase/tutorial/essential/io/cl.html[/url]

Member Avatar for java_programmer
0
126
Member Avatar for tinamary

1. Constructor is use to create instance of a class. In case, you want to initialize your object at the time of creation, you have to define constructor. If you don't define any constructor, the default constructor defined by Object class is used to create the instance. Hence, without constructor, …

Member Avatar for peter_budo
0
184
Member Avatar for noneta

The problem is not clear. Could you please post sample output? Is this what your expected output is? User enter - This is a sentence. and output will be - 4.

Member Avatar for Ezzaral
0
129
Member Avatar for BLUEC0RE

How do u run the program? using java command from comamnd line or using some IDE? check the classpath. It seems a classpath related problem.

Member Avatar for BLUEC0RE
0
228
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
85
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
47
Member Avatar for Xufyan

In case 1, define methods which return value. In case 2, declare some global variables and define methods that don't return values and assigns the values to those global variables. [QUOTE=Xufyan;1345081]I had an assignment to create a calculator in two ways, 1) Method returning values. 2) Method without returning values. …

Member Avatar for java_programmer
0
149
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
53
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
95

The End.