Java bluej ICSE class x output program | see this |

abhas at 16h03
05
Feb
2009
Java bluej ICSE class x output program | see this |

class Str
{
public static void main(String args[])
{
String a[]=new String[1];
System.out.println(a[0]);
}
}
======================================================
remember the output of this program is:-

null

if u run this prg in bluej then u may also get a square box (try it urself to confm) but in exam write the ans as
null
About
This topic belongs to the forum
  • Numbers of topics : 1431
  • Numbers of messages : 8652
  • Numbers of users : 6367
  • Numbers of points : 103
Similar topics
Find output of this JAVA program class out1 { public static void main(String args[]) { int s=0,i=0; while(i++<5) { System.out.println(i); s+=i; } int value=5; if (value++ == 6) System.out.println("six"); else if
Write a program in bluej to check a number is palindrome or not.??
class out { void main() { int a=1; switch(a) { case '1': { System.out.print("ONE\n"); break;} case '2':
hey! i need bluej programs based on strings (only question)
write a program in java to enter 2 numbers and  find the H.C.F and L.C.M and display the result.
Forums from same category
  • IT INCLUDE EACH AND EVERY ASPECT OF THE INTERNET ABOUT WHICH YOU WANT AND INFORMATION AND WANT TO SHARE KNOWLEDGE.

  • USMLE Forum USMLE STEP 123 Medical Books PG Entrance Exams

  • Free forum : I am a third year undergraduate student of IIT Kharagpur. The purpose behind making this forum is to bring all the IAS aspirants at one platform where they can share their study tips and

  • Where we can talk freely with normal people.

  • Discusess all about ibpsexam preparation tips po's and Clerk

  • Free forum : AIEEENOW provides you a platform where you can discuss all your queries related to AIEEE, IIT and others amongst yourself. Counselling Experts would also guide you in counselling from tim

See also
more_less
Informations

5 Replies For the topic :
"Java bluej ICSE class x output program | see this |"

This topic has been viewed 5214 times.

Last message :
05/02/2009 at 16h03 by "abhas"