in the alloy question, will one get marks if written all the components of the alloy? |
|
| asked by Ashutosh Dash (ashutosh_dash) 7 years ago | |
1 | |
guys here are some of the trickiest questions which i was able to find hope its beneficial .(they all are directly copied from blue j . just do copy past , if u find any mistake or confused over the codding just let me know )
//System.out.println(Math.sqrt(-4));
// System.out.println('c');
// System.out.println(04/10);
//System.out.println(04%10);
// System.out.println(Math.rint(3.5));
// to get 2 didgits from 3.13332112335 to 3.13
//System.out.println(3.135321123*100.0);
//System.out.println(Math.round(3.133211235*100.0)/100.0);
// to get 3 from 12345
//12345/1000 345/100 = 3
//for 4 12345/100 = 45/10 = 4
/*char ch = 'a';
int m = ch++;
System.out.println(m+" "+ch);*/
//\u000d// c
/* String st = "one"+1+2;
System.out.println(st);*/
//int i = 1+ +2 - -3; System.out.println(i);
/*int j = 0 ;
for(int i = 0 ; i < 10 ; i++)
{ j = j++;}
System.out.println(j);*/
/* long wthl = 1000*60*60*25*365L;
long wth = 1000*60*60*25*365;
System.out.println(wthl );
System.out.println(wth);&*/
//System.out.println(7+6-5-7 );
//System.out.println(1.234567/100);
//System.out.println("wow"+'a'+1);
//System.out.println('a'+1+"wow");
/* char a = '0'+'1';
System.out.println(a);*/
//System.out.println("\""+true);
//String s = "Java Quiz"; System.out.println(s.length());
// System.out.println(1.0/0.0+1+20000); |
|
| asked by Rtstud (mdarfath) 7 years ago | |
6 | |

