- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
- Interests
- painting,cooking,reading books of Charles Dicknes
15 Posted Topics
| |
Re: class pattern { public static void main() { int i,j; for(i=6;i>=1;i--) { for(j=1;j<=i;j++) { System.out.print(j); } System.out.println(); }}} | |
helo everyone......... could anyone of you please explain me the concept of ARRAYS. another doubt.........can anyone of you just give e the basic lgic ofbinary search, linear search, bubble sorting an selection sorting!! specially binary search and linear serch the concept i have not understod proprly!! and a smal program … | |
what is the difference between call by value and call by refers=ence? can you please give an example to illustrate it? | |
Re: you can use switch case.its a long method. | |
can anyone explain to me about what actually is a constructor? | |
hello. i have done the followinh program to convert a String value to a double value.when i am compiling this program, i get an error as"unclosed character literal in the 18th line.can anyone say what's the problem? import java.io.*; class strin { public static String a(String s); { String j=""; … | |
Re: abstraction is the act of representing essential features withi=out including the background details or explaination. so, abstraction is used for hiding the unnecessary or the unwanted data from being displayed. for example if you know about functions in java, the process of calling the sub function,etc is hidden from the … | |
Re: eg= String s="Hai! Hello Java";//this is the input or sentence whose words are to be counted [COLOR="Red"]int[/COLOR] i,words=1;//variable words is used to count the number of words. [COLOR="red"]char[/COLOR] c;//variable c is used to extract each character. for(i=0;i<s.length();i++) { c=s.charAt(i); if(c==' ')//space is counted to determine the number of words. words++;//increases … | |
hello. i have just started learning functions in java. i have done the below program to find area of rectangle,triangle and square. it is a private class. class calcu { void rectangle(int l,int b) { int area1; area1=l*b; System.out.println("area of rectangle = "+area1); } void triangle(double base,double h) { double … | |
i have got a program to convert a double value to a string. eg==INPUT= 3.65 OUTPUT=three point six five. can anyone give the solution. | |
Re: ther's a simple program 4 tat. Here it is............ u can use this method if u hv finished String class import java.io.*; class split { public static void main()throws IOException { BufferedReader x=new BufferedReader(new InputStreamReader(System.in)); String a; int i,j; char c; System.out.println("Enter a word to split the letters"); a=x.readLine(); for(i=0;i<a.length();i++) … | |
guys........ can anybody help me in FUNCTRIONS?? i'm not able to understand it. can u show me examples also???????? pls:icon_confused: :cool: pls reply............. thankyou.........:?: |
The End.