Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~770 People Reached
Favorite Forums
Favorite Tags
java x 13
c++ x 4

6 Posted Topics

Member Avatar for bigsurya

I've written this code to obtain an alternate display of '|' and '\*' starting with '|'. To ensure the altering of o/p I've used the yield(). But this doesn't seem to serve the purpose. Can someone point out where have I gone wrong ? import java.util.*; class Pat extends Thread …

Member Avatar for phriendtj
0
129
Member Avatar for bigsurya
Member Avatar for bigsurya

I am getting a NullPointerException in the statement which I've hidden. Can some1 tell me why is it so ? [code] import java.io.*; class College { String branch,name = new String(); int avg_marks,rno; InputStreamReader in= new InputStreamReader(System.in); BufferedReader buf= new BufferedReader(in); String s=new String(); void read()throws IOException { System.out.println("Enter name"); …

Member Avatar for bigsurya
0
138
Member Avatar for bigsurya

Why do we overload operators ? Is it possible to add/subtract objects of a class without using overloaded '+' operator ?

Member Avatar for Narue
0
97
Member Avatar for monocog

Hi, In my opinion operator overloading is not applicable to your code at all since you have just object of your class "STATISTICS". Operator overloading can come to your aid only if you have multiple objects of the class and you want to modify their respective data members. Hope this …

Member Avatar for bigsurya
0
137
Member Avatar for bigsurya

Can I have a FOR Loop of in the following manner:[for(int i=0;(s[i]!='\0')|| s[i]!=' ';i++)][/CODE=C++] where 's' is a character array

Member Avatar for bigsurya
0
131

The End.