Ask a Question | Answer a Question! |
Submitting your question...
ResFinder - Thousands of Practice Papers
2018 Marking Scheme says toUpperCase returns value in character but it returns in string |
|
asked by Ansh Anand (teleansh) 5 years ago |
2 |
+ 3 more questions by teleansh
Can we use if inside else: (works fine but is it correct way)
if (str.charAt(i) != ' ')
{
wrd = wrd + str.charAt(i);
len ++;
}
else
{
if(len > longest)
{
longestword = wrd;
longest = len;
}
wrd = "";
len = 0;
} |
|
asked by Ansh Anand (teleansh) 5 years ago |
1 |
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) 5 years ago |
0 |
for(i=0 ; i<arr.length ; i++)
{
if (a.isequalsTo(arr[i]))
return i;
} |
|
asked by Ansh Anand (teleansh) 5 years ago |
1 |
Difference between s.length and s.length() ?? |
|
asked by Harjas Bajaj (jammy229) 5 years ago |
4 |
two differences between variable declaration and initialization pleasseee
URGENT |
|
asked by Agrajah Bhobe (iron_man98) 5 years ago |
1 |
#MainBhiChowkidar XD
But on a serious note, RIP Manohar Parrikar, CM of Goa |
|
asked by Aryan Gupta (xprince) 5 years ago |
2 |
Could someone help me out with the accessibility of public, private, protected, etc.... |
|
asked by Mr. Mathematics (aditya_bandaru) 5 years ago |
1 |
Write a program to calculate the primorial of a number.
URGENT PLEASE! |
|
asked by SнιVααηι мαнεsн (kawaiineko31) 5 years ago |
2 |
A ques here
If we have to find the size of an array which contains string ex
string p[ ] ={" INDIA", "JAPAN", "TURKEY"}
to calculate it we will find the size of each character i a string and add them yup
In the comment return boolean type value
Else calculate |
|
asked by Annhaliator (laxyone) 5 years ago |
1 |
Do teachers always give 100/100 in the group 3 boards projects or do they have limitations? |
|
asked by Captain Phasma (satyajit33) 5 years ago |
3 |
I'm a bit confused here:
How are Encapsulation, Abstraction and Data Hiding implemented in software terms? |
|
asked by Prateek Pradhan (prateek235) 5 years ago |
3 |
|