A question for you guys.find the error in the following code segment. class test { int a,b; void init() { a=1;b=2; } public static void main (String args []) { System.out.println(a+" "+b); }} |
|
asked by Dwaipayan Ray (dwaipayanray1) 8 years ago | |
2 |
please answer both the questions in the comment |
|
asked by Anu krishna (anukrishna) 8 years ago | |
1 |
please tell me the logic behind the series 1, 11, 111, 1111 , n terms PS : I don't need the whole program |
|
asked by Bhavana (mpc123) 8 years ago | |
7 | |
is Wi-Fi hacking possible ? |
|
asked by Hareesh Ramakrishnan (hareesh0922) 8 years ago | |
2 |
Please provide a program to reverse a sentence.(I have searched on net but could not get a simple one ) |
|
asked by Anvesha Mishra (learner67) 8 years ago | |
2 |
Are instance variables and member variables same? |
|
asked by Niki (niki_gabi) 8 years ago | |
2 |
What is the value of (1/0.0) - (1/-0.0)?? |
|
asked by Christiano Ronaldo (ronadochristianocr47) 8 years ago | |
2 |
--====----HELP----===-- . Explain the term "Bytecode" in context with Java compilation. |
|
asked by Akash Divakar (akashdivakar) 8 years ago | |
2 |
Branching Control statements are if or switch???? And what about Selection control ?? |
|
asked by The Dark Lord (shashank44thool) 8 years ago | |
1 |
I have written a program to find check for a prime no. and to print a pattern. Its a menu driven program. I have taken input using scanner but in the main() method when I accept string using next () then it runs but when I use nextLine()then it fails to accept the string.look for program in comments |
|
asked by Arpit Srivastava (arpit18) 8 years ago | |
3 |
Page 454 |
ICSE chat