Ask a Question  | Answer a Question!  | 

 Submitting your question... 
 
 
ResFinder - Thousands of Practice Papers
Why this code is not working or linear search
import java.util.Scanner;
public class Linear
{
  int search(String a , String arr[])
    {
        int s = -1; int i;
        for(i=0 ; i 0)
            System.out.println(" The Word is at " + val+1);
        else
            System.out.println(" The Word is not present in araay");
    }
} | 
  | 
| asked by Ansh Anand (teleansh) 6 years ago  | 
0  | 
 + 2 more questions by teleansh    
for(i=0 ; i<arr.length ; i++)
        {
            if (a.isequalsTo(arr[i]))
                return i;
        } | 
  | 
 
| asked by Ansh Anand (teleansh) 6 years ago  |  
1  |  
What extra things we have write with Program Code -  COMMENTS , VARIABLE TABLE , OUTPUT  | 
  | 
 
| asked by Ansh Anand (teleansh) 6 years ago  |  
3  |  
 
 
Anyone pls help me out with this
Explain the use of static keyword  | 
  | 
 
| asked by SODA The Ultimate comedy (aniruddha_1) 6 years ago  |  
2  |  
 
I'm a bit confused here:
How are Encapsulation, Abstraction and Data Hiding implemented in software terms?  | 
  | 
 
| asked by Prateek Pradhan (prateek235) 6 years ago  |  
3  |  
 
what is the choice of questions in section 2 of commercial applications??  | 
  | 
 
| asked by Rajas Baadkar (pubgalpha) 6 years ago  |  
1  |  
 
*Strategy Review*
See I'm thinking to solve Sec-A within 35 min (lighting speed)
And move on to B, attempt 5 programs in an hour with everything, I still should have approx 20 mins, so would write extra and decorate and recheck the whole paper. What ya suggest, should I modify any part, or its perfect?  | 
  | 
 
| asked by Aryan Gupta (xprince) 6 years ago  |  
3  |   + 1 more questions by xprince    
Where are the guys who motivate? I need motivation.  | 
  | 
 
| asked by Aryan Gupta (xprince) 6 years ago  |  
3  |  
  |  
 
another solid point of difference b/w break and continue, apart from their function and example?  | 
  | 
 
| asked by Sahaj Shah (eternityseeker) 6 years ago  |  
2  |  
 
System.exit function?  | 
  | 
 
| asked by Arun Munagala (cyberking7) 6 years ago  |  
2  |   + 3 more questions by cyberking7    
this keyword function.  | 
  | 
 
| asked by Arun Munagala (cyberking7) 6 years ago  |  
3  |  
why is java a robust language?  | 
  | 
 
| asked by Arun Munagala (cyberking7) 6 years ago  |  
2  |  
1 11
121
1331
14641
151051
program for this??I think its called pascal triangle
(not powers of 11)  | 
  | 
 
| asked by Arun Munagala (cyberking7) 6 years ago  |  
4  |  
 
 
what is that number calles which has all 0-9 digits  | 
  | 
 
| asked by Ayush Agarwal (qwertyuiop12345678901234567890) 6 years ago  |  
1  |  
 
i need the shortest amount of code possible for this question
1
31
531
7531
97531  | 
  | 
 
| asked by Sankhya Gowda (taankkkkk) 6 years ago  |  
6  |  
 
 
 
  |    |