Ask a Question | Answer a Question! |
Submitting your question...
ResFinder - Thousands of Practice Papers
GUYS instead of writing
int n = 12;
String n1 = Integer.toString(n);
we can directly write
String n1 = ""+n;
no need to write Integer.toString(n); |
|
asked by Rtstud (mdarfath) 6 years ago |
3 |
can sum1 tell me the bytes occupied by all data types |
|
asked by Mugdha Walawalkar (mugdhahemant) 6 years ago |
5 |
+ 4 more questions by mugdhahemant
1. give the output
int a=5;
a++;
a-=(a--)-(--a);
Sopln(a);
(i got a=-4 while my sir said the answer is a=4. plz give the steps)
2.Name the variables for which the object of the class will have its own distinct copy.
public class myClass
{
public static int x=3;y=4;
public int a=2;b=3;} |
|
asked by Mugdha Walawalkar (mugdhahemant) 6 years ago |
3 |
1.Arrange the operators given below in order of higher to lower precedence:
i. && ii. % iii.>= iv.++
2.List the variables from those given below that are composite data types:
static int x;
boolean b;
arr[i]=10;
private cher ch;
obj.display();
String str; |
|
asked by Mugdha Walawalkar (mugdhahemant) 6 years ago |
2 |
for(int i=3;i<=4;i++){
for(int j=2;j<i;j++){
System.out.print("");}
Sopln("win");
How many times will the loop execute?
Give the output. |
|
asked by Mugdha Walawalkar (mugdhahemant) 6 years ago |
4 |
1.Arrange the following in descending order of size:char,long,float,boolean
2.write the total bytes required: int a[]={1,2,3,4,5};
3.Give the output
String a="26,b="100";
String d=a+b+"200"; |
|
asked by Mugdha Walawalkar (mugdhahemant) 6 years ago |
2 |
Can we use Scanner functions like hasNext() and next() ? |
|
asked by Pavan K Srinivasan (throwaway) 6 years ago |
1 |
Is ICSE concerned only with the output, or does it even check the logic? If the number of iterations is more than required while the output remains the same, would marks be allocated?? |
|
asked by Ashutosh Dash (ashutosh_dash) 6 years ago |
2 |
This thing is absolutely bugging me why the hell r the respaper admins spamming my notifications
Is it like i broke some rules or something
Or did I like swear or lot
I dont even knw ?? |
|
asked by Kris Shibu (zeusinmars) 6 years ago |
5 | + 1 more questions by zeusinmars
Guys i need both the sorts and both the search prgms for strings....
ASAP |
|
asked by Kris Shibu (zeusinmars) 6 years ago |
1 |
|
In sorting of strings, it sometimes happens that using nextLine(), we don't get message for entering a value, some is skipped,etc. Even on using next(), it happens. Is there any firm solution for this?? |
|
asked by Aayush Joshi (aayushjoshi) 6 years ago |
2 |
Hey guys ...can we use the string buffer functions in our programs for the board ?? |
|
asked by CaptainCool07 (radhikagirish) 6 years ago |
3 |
For Evs students.
Give disadvantages of GMO crops?
please fastt |
|
asked by Onkar Borade (onkarborade) 6 years ago |
1 |
Question: Write a Program in Java to input a number and check whether it is a Disarium Number or not.
Note: A number will be called DISARIUM if sum of its digits powered with their respective position is equal to the original number.
For example 135 is a DISARIUM
(Workings 11+32+53 = 135, some other DISARIUM are 89, 175, 518 etc) |
|
asked by Tiara Elizabeth (thejtthomas) 6 years ago |
6 |
Who all have instagram??????? Please raise ur handπππππππ |
|
asked by Anwesha Das (anweshadas71) 6 years ago |
7 |
|