what will be the output of this program class Pattern01 { public static void main() { for(int i=1; i<=5; i++) { for(int j=1; j<=i; j++) { System.out.print(j); } for(int k=5; k>i; k--) { System.out.print(i); } System.out.println(); } } } |
|
asked by Kushagra Kushagra (kushagra2014) 8 years ago | |
2 |
Is Programming based on CONSTRUCTOR OVERLOADING there in our Syllabus? |
|
asked by Ritik Sharma (rsharma96) 8 years ago | |
1 |
DO mention this point of difference : Class is logical existence since no memory space is allocated when t's created. Object is physical existence since memory space is allocated when it's created. |
|
asked by Sdfg Sdfg (sdfg) 8 years ago | |
2 | |
Give the output: int a =5,b=3 a) int c=a+b*7/2; b) float c=a-b/2*9/4; c) boolean=5+3>10&&10*2/5; |
|
asked by Abhi (bitun) 8 years ago | |
2 |
NEED HELP... Please explain this...question in comment.. |
|
asked by Akash Divakar (akashdivakar) 8 years ago | |
2 |
is two dimensional array there in the computer syllabus |
|
asked by Ananth Preetham (infinity21) 8 years ago | |
1 |
define object of a class |
|
asked by జశ్వంత్ (jash59) 8 years ago | |
3 |
What are the outputs of the following explicit conversions? Draw flow lines to obtain the outputs. WHAT DO YOU MEAN BY SUCH QUESTIONS? |
|
asked by Niki (niki_gabi) 8 years ago | |
1 |
Display output for the following if("String".toString()=="String") System.out .println("true") else System .out. println("false") pls give reason for ur ans |
|
asked by Princess Deev (deevenayerra) 8 years ago | |
3 |
what is the default value of char and String ?? is it ' ' and '' '' or ‘u0000’ and null |
|
asked by Angel k saji (angelksaji) 8 years ago | |
2 |
Page 321 |
ICSE chat