Ask a Question  | Answer a Question!  | 

 Submitting your question... 
 
 
ResFinder - Thousands of Practice Papers
is Math.random(), shift and bitwise operators included in the syllabus?  | 
  | 
| asked by Ashutosh Dash (ashutosh_dash) 7 years ago  | 
1  | 
Just thought I would share as a similar question came in our prelims :
 String s = "hi";
 System.out.println(s.indexOf("1"));
Output for this is -1 | 
  | 
| asked by Rohan Gupta (rohang37) 7 years ago  | 
3  | 
Pls sum1 explain me about class ,instance and local variables and methods  | 
  | 
| asked by Kousalya Senthilkumar (laks2002) 7 years ago  | 
1  | 
Can anyone explain " expulsion " in football?  | 
  | 
| asked by Aditi Prasad (pp201540) 7 years ago  | 
5  | 
PLEAse help!!
Explain differnce between local,instance and class variable?  | 
  | 
| asked by Onkar Borade (onkarborade) 7 years ago  | 
1  | 
public class sales          
 { int invoice=1234; 
   static pro_code;
 
     public static void main()
         { sales s= new sales();
           int price=1000;
           s.show(price); 
              } 
     void show(int pr) 
       { System.out.println(invoice); 
         System.out.println(pro_code);
         System.out.println(pr); 
        }
 }       
Name the following from the above code: 
 (i) class variable  // pro_code??
 (ii) local variable  // price??
 (iii) instance variable  //invoice??
 (iv) method variable   // pr??
Are these answers correct? Please help!! | 
  | 
| asked by Shreya Bhagat (hermione02) 7 years ago  | 
3  | 
any eco students ??in our papaer 4 marks were out of scope right`???  | 
  | 
| asked by Aryan Kapoor (aryan9917) 7 years ago  | 
0  | 
whats the difference between a method and a function  | 
  | 
| asked by Rtstud (mdarfath) 7 years ago  | 
3  | 
int z=148;
 while (10>9)
 {
 if(z<139) 
break;
 System.out.println("computer" +z);
 z=z-3;
 }System.out.println(z);
 How many times the loop will execute ?
What is the output? | 
  | 
| asked by Tiara Elizabeth (thejtthomas) 7 years ago  | 
2  |