Syvum Home Page

Home > Discussions > For all activities

Discussion topic: Contributed Answer/Explanation to Q. 1

Viewing messages

To go to the homepage of this topic, click here.
<<  <  Page 9 of 11  >  >>
From: ezhilmathiReply 161 of 205Reply
Subject: Contributed Answer/Explanation to Q. 4
   the ans is:
   
    
   
   
          float pie = 3.142 ;

Posted at: Wed Dec 1 16:57:58 2010 (GMT)

From: ezhilmathiReply 162 of 205Reply
Subject: Contributed Answer/Explanation to Q. 6
   formal parameters appear in the function definition statement while actual
   parameters appear in the function call statement .

Posted at: Wed Dec 1 17:01:50 2010 (GMT)

From: ezhilmathiReply 163 of 205Reply
Subject: Contributed Answer/Explanation to Q. 7
   v need constructor because it is constructor that initialises ,the objects
   created,with legal initial values

Posted at: Wed Dec 1 17:04:36 2010 (GMT)

From: ezhilmathiReply 164 of 205Reply         View replies (1)
Subject: Contributed Answer/Explanation to Q. 9
   math package is invoked by default

Posted at: Wed Dec 1 17:06:46 2010 (GMT)

From: ezhilmathiReply 165 of 205Reply
Subject: Contributed Answer/Explanation to Q. 9
   lang package is invoked by default

Posted at: Wed Dec 1 17:07:19 2010 (GMT)

From: ezhilmathiReply 166 of 205Reply
Subject: Contributed Answer/Explanation to Q. 10
   import is the keyword which is used when v want to use classes of a package

Posted at: Wed Dec 1 17:10:12 2010 (GMT)

From: ezhilmathiReply 167 of 205Reply
Subject: Contributed Answer/Explanation to Q. 11
   math class. eg- math.sqrt( )

Posted at: Wed Dec 1 17:11:50 2010 (GMT)

From: ezhilmathiReply 168 of 205Reply         View replies (2)
Subject: Contributed Answer/Explanation to Q. 13
   double a = 0.05 - 2 * math.pow(y,3) / x-y

Posted at: Wed Dec 1 17:16:43 2010 (GMT)

From: ezhilmathiReply 169 of 205Reply
Subject: Contributed Answer/Explanation to Q. 13
   double a = (0.05 - 2 * math.pow(y,3)) / (x-y);

Posted at: Wed Dec 1 17:18:06 2010 (GMT)

From: ezhilmathiReply 170 of 205Reply
Subject: Contributed Answer/Explanation to Q. 14
   int tax = (income<=10000) ? 0 : 12;

Posted at: Wed Dec 1 17:20:20 2010 (GMT)

From: ezhilmathiReply 171 of 205Reply         View replies (1)
Subject: Contributed Answer/Explanation to Q. 15
   int n = 275 ; String number = Integer.parseInt (n);

Posted at: Wed Dec 1 17:23:21 2010 (GMT)

From: ezhilmathiReply 172 of 205Reply         View replies (1)
Subject: Contributed Answer/Explanation to Q. 16
   string m ;

Posted at: Wed Dec 1 17:24:26 2010 (GMT)

From: ezhilmathiReply 173 of 205Reply
Subject: Contributed Answer/Explanation to Q. 16
   string m ; int a; m = Integer.parseInt (a);

Posted at: Wed Dec 1 17:26:45 2010 (GMT)

From: ezhilmathiReply 174 of 205Reply
Subject: Contributed Answer/Explanation to Q. 13
   double a = (0.05 - 2 * math.pow(y,3)) / (x-y);

Posted at: Wed Dec 1 17:27:26 2010 (GMT)

From: ezhilmathiReply 175 of 205Reply
Subject: Contributed Answer/Explanation to Q. 15
   int n = 275 ; String number = Integer.toString (n);

Posted at: Wed Dec 1 17:28:20 2010 (GMT)

From: ezhilmathiReply 176 of 205Reply
Subject: Contributed Answer/Explanation to Q. 18
   ven v declare  a function to be of void type , it means that the function
   doesnot return anything.

Posted at: Wed Dec 1 17:31:09 2010 (GMT)

From: ezhilmathiReply 177 of 205Reply
Subject: Contributed Answer/Explanation to Q. 19
   the very first one vil only b executed 
   because after executing the 1st one the program is terminated.

Posted at: Wed Dec 1 17:33:21 2010 (GMT)

From: ezhilmathiReply 178 of 205Reply
Subject: Contributed Answer/Explanation to Q. 20
   polymorphism

Posted at: Wed Dec 1 17:34:23 2010 (GMT)

From: ezhilmathiReply 179 of 205Reply
Subject: Contributed Answer/Explanation to Q. 21
   o/p:-	   
   
   four : 42
   
   
   four : 4

Posted at: Wed Dec 1 17:36:15 2010 (GMT)

From: ezhilmathiReply 180 of 205Reply
Subject: Contributed Answer/Explanation to Q. 22
   O/P:-
   
   Hi equals Hi -> true
   
   
   Hi equals there -> false
   
   
   Hi equals HI -> false
   
   
   Hi EqualIgnoreCase HI -> true
   
   
    

Posted at: Wed Dec 1 17:41:19 2010 (GMT)

<<  <  Page 9 of 11  >  >>

To post to this forum, you must be signed in as a Syvum member. Please sign in / register as a member.

Contact Info © 1999-2024 Syvum Technologies Inc. Privacy Policy Disclaimer and Copyright