Ask a Question | Answer a Question! |
Submitting your question...
ResFinder - Thousands of Practice Papers
Ans pls tommrow i need to fill this in my friends slam book:-
What do u mean by
1)i love to hog on
2)i detest
3)i go bonkers about
4) my biggest assets
5)i fancy love as |
|
asked by Chirayu Rai (chirayurai) 8 years ago |
2 |
//answer to my query solved by my friend
import java.util.*;
public class tnaminatina
{Scanner sc=new Scanner(System.in);
public void check()
{String a="",b="",w="";
System.out.println("enter sentence");
String s=sc.next();
System.out.println("enter sentence");
String g=sc.next();
System.out.println("enter sentence");
String d=sc.next();
a=s.concat(g);
b=a.concat(d);
System.out.println(b);
for(int i=0;i |
|
asked by Adithya Kannan (adiketh198) 8 years ago |
1 |
+ 2 more questions by adiketh198
//this my program plz tell me the errors
import java.util.*;
public class tnaminatina
{
public void check()
{String a="",b="";
Scanner sc=new Scanner(System.in);
System.out.println("enter sentence");
String s=sc.next();
System.out.println("enter sentence");
String g=sc.next();
System.out.println("enter sentence");
String d=sc.next();
a=s.concat(g);
b=a.concat(d);
System.out.println(b);
b=b.toUpperCase();
System.out.println(b);
b=b.trim();
for(int i=0;i96&&b.charAt(i)<=122)
c=(char)b.charAt(i)+32;
else
if(b.charAt(i)>64&&b.charAt(i)<=90)
c=(char)b.charAt(i)-32;
}
System.out.println(b);
}
} |
|
asked by Adithya Kannan (adiketh198) 8 years ago |
2 |
What are the comments all are talking about in the programs? someone give me an example and write such a comment? |
|
asked by Vijay Kr
(krvijay28) 8 years ago |
1 |
Program - 10 Marks, VD - 3 Marks, Comments - 2 Marks.
Also, In Comp Exam, Instruction is Given on the Question Paper:
Each program should be written
using Variable descriptions/Mnemonic Codes such that the logic of the program is
clearly depicted.
So Please Write VD and Comments, or Lose 5 Marks. |
|
asked by Oof. (eash13) 8 years ago |
2 |
Is it necessary to write comments? 'Cause I've never done it in school, nor have I been told to do so. |
|
asked by Lord Roshan the Great (lordroshan) 8 years ago |
1 |
Question in comments |
|
asked by Somnath Biswal (somnathbiswal) 8 years ago |
1 |
guys can someone give me notes for functions like math.ceil , floor etc |
|
asked by Nipun Koli
(nio456) 8 years ago |
1 |
Strings are immutable right ( mentioned in the text ) apart from theory i want to know the practical application of that.......Like we often change the data of the string many times by using library functions like .toUpperCase or etc.....we use s=s.toLowerCase(); and we get the right output but why not it happens if we write directly s.toLowerCase instead of creating a seperate String object ?? i mean can anyone explain the diff and say how Strings are immutable...practical application is equally important right..so plz |
|
asked by MP Harsha (student58) 8 years ago |
2 |
Guys I can take input in the function itself and thn give the output there only right ??
So in the caller program it would be just on.input();
Am I right?? |
|
asked by Abhishek Shyam (abhibenne) 8 years ago |
1 |
|