Looking for a Tutor Near You?

Post Learning Requirement »
x

Choose Country Code

x

Direction

x

Ask a Question

x

x
x
x
Hire a Tutor

ICSE Important Questions

Loading...

Published in: Java And J2EE
1,088 Views

Some important questions for class X and IX

Jayeeta B / Kolkata

3 years of teaching experience

Qualification: MCA

Teaches: All Subjects, Computer, Computer Science, School Level Computer

Contact this Tutor
  1. Write a program in JAVA to accept a string from user and replace the word "black" by "white" .Display the new string after replacing "black" with "white". Sample Input:The black cat has black ears and black eyes. Sample Output:The white cat has white ears and white eyes. class prg5 public void display(String x) x=x+" String w= String int l=x.length(); for(int i=O;i
  2. The white cat has white ears and white eyes