Complete IIT AIEEE ICSE ISC PMT help forum
This is a free help Forum for Indian Students.
Complete IIT AIEEE ICSE ISC PMT help forum

Complete help forum for students preparing for icse iit aieee cbse pmt and other related exams.Stay updated about all 2011 exams.
 
HomeHome  PortalPortal  FAQFAQ  SearchSearch  RegisterRegister  MemberlistMemberlist  UsergroupsUsergroups  Log in  India NewsIndia News  
Keywords
computer MODEL 2011 Results result question timetable Icse CHEMISTRY sample java 10th maths table programs 2008 class PAPERS Exam 2009 TEST SYLLABUS practical time board english
Latest topics
» optical fibre????
Fri May 18, 2012 8:54 pm by mahnoorbloch

» physics............
Fri May 18, 2012 8:43 pm by mahnoorbloch

» magnetism...........chapter
Fri May 18, 2012 8:33 pm by mahnoorbloch

» ac generator
Fri May 18, 2012 7:46 pm by mahnoorbloch

» Great website for maths
Sun May 06, 2012 9:39 am by mahnoorbloch

» BlueJ prog
Tue Apr 24, 2012 11:53 am by arryaan

» GBTU SEE 2012 22 April
Sat Apr 21, 2012 11:17 am by shreya94

» GBTU SEE or UPTU SEE 2012 Expected cutoff marks
Sat Apr 21, 2012 11:16 am by shreya94

» GBTU SEE 2012 UPTU SEE 2012 Solutions Answer key discussion
Sat Apr 21, 2012 11:15 am by shreya94

Top posters
abhas
 
Anu..i luv icse...:)
 
G-7
 
siya
 
Candy
 
jOhNy
 
Apurva
 
WinRrule
 
ambili
 
saif
 

Java bluej ICSE class x output program | see this | 5 5 1


Search if you can't find it here

Java bluej ICSE class x output program | see this |

View previous topic View next topic Go down
AuthorMessage
abhas
Active member
Active member



PostSubject: Java bluej ICSE class x output program | see this | Thu Feb 05, 2009 8:33 pm

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

if it was an int type array then default value is 0 so output will be 0

for bolean it will be false

Very Happy
Back to top Go down
View user profile
ambili
Active member
Active member



PostSubject: Re: Java bluej ICSE class x output program | see this | Thu Feb 05, 2009 9:44 pm

thanx abhas Very Happy
Back to top Go down
View user profile
Anu..i luv icse...:)
Active member
Active member



PostSubject: Re: Java bluej ICSE class x output program | see this | Fri Feb 06, 2009 11:16 am

yes...u r true Razz
Back to top Go down
View user profile
Vaibhav Garg
Active member
Active member



PostSubject: Re: Java bluej ICSE class x output program | see this | Mon Feb 09, 2009 6:23 pm

ya we kno this...
null is the default value for string.....
Back to top Go down
View user profile
eldhojose
Active member
Active member



PostSubject: thanks Thu Feb 19, 2009 3:54 pm

ambili wrote:
thanx abhas Very Happy
opps gret discovery
Mad
Back to top Go down
View user profile
eldhojose
Active member
Active member



PostSubject: Re: Java bluej ICSE class x output program | see this | Thu Feb 19, 2009 3:55 pm

eldhojose wrote:
ambili wrote:
thanx abhas Very Happy
opps gret discovery
Mad
null is off course the default value
Back to top Go down
View user profile

Java bluej ICSE class x output program | see this |

View previous topic View next topic Back to top
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Complete IIT AIEEE ICSE ISC PMT help forum :: Computer :: Computer Question answers-