ISC 2020 solved program (Object passing as an argument)
ISC 2020 solved program (Object passing as…: solved Java program for ISC Class 12 Computer Science with complete BlueJ code, explanation and sample output.
ISC 2020
Circular Prime number : An easy ISC practical 2016
import java.util.*;
class Mix
{ static Scanner sc=new Scanner(System.in);
int len;
String wrd;
Mix()
{
len=0;
wrd="";
}
void feedword()
{
System.out.println("enter a word");
wrd=sc.next();
}
void mix_word(Mix a, Mix b)
{
String str1="";
int len1=a.wrd.length();
int len2= b.wrd.length();
if(len1>len2)
str1=a.wrd;
else
str1=b.wrd;
int len=Math.min(len1,len2);
for(int i=0;i<len;i++)
{
this.wrd+= a.wrd.charAt(i);
this.wrd+=b.wrd.charAt(i);
}
for(int i=len;i<str1.length();i++)
this.wrd+=str1.charAt(i);
}
void display()
{
System.out.println("the word is "+ wrd);
}
public static void main()
{
Mix a =new Mix();
a.feedword();
Mix b =new Mix();
b.feedword();
Mix obj =new Mix();
obj.mix_word(a, b);
obj.display();
}
}https://www.youtube.com/watch?v=QZKcULOC4lg

Related Posts
Continue learning with these related articles

Logic Gates for ISC Class 11: Truth Tables, Universal Gates, Half and Full Adder
ISC Class 11 Computer Science notes on logic gates: AND, OR, NOT, NAND, NOR, XOR and XNOR with truth tables, why NAND and NOR are universal gates, and half adder and full adder circuits with their Boolean expressions.
Decimal to Binary Conversion in Java: 3 Programs with Examples
How to convert a decimal number to binary on paper and in Java: three programs (String, place value and Integer.toBinaryString), binary to decimal, a dry run and common mistakes.

ISC Class 11 Computer Science Sample Paper 2026-27 with Solutions
A full 70-mark ISC Class 11 Computer Science sample paper for the 2026-27 annual exam: MCQs, number systems, propositional logic, logic gates, Java classes, arrays, strings, searching and sorting, and computing ethics, with complete worked solutions.