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) 8 years ago | |
3 | |
Other Questions on This Topic
Chhod aaye the kinara kabhi apni talash mein, Par dil ki gehrayi se ek aisi aawaz aayi, Ki lautna pada hamein isi mod ki talash mein. |
|
| asked by Nisarg Bhavsar (nisarg71) 120 days ago | |
2 | |
Bengali grammar icse question paper can I get? |
|
| asked by Debosmita Malik (debosmitamalik) 174 days ago | |
1 | |
I wish to download question papers for ICSE prelims and I cannot do that. Can you provide the details of the Customer support for Respaper to get in touch with regarding the issue mentioned above. |
|
| asked by S.Hemalata Rajaram (hema1877) 277 days ago | |
1 | |

