Ask questions which are clear, concise and easy to understand.
Ask QuestionPosted by Sona Irshad 8 years, 2 months ago
- 0 answers
 
Posted by Saksham Sawarna 8 years, 2 months ago
- 0 answers
 
Posted by Suyogya Dwivedi 8 years, 2 months ago
- 0 answers
 
Posted by Preeti Shewani 8 years, 2 months ago
- 0 answers
 
Posted by Piyush Kumar 8 years, 2 months ago
- 1 answers
 
Naveen Sharma 8 years, 2 months ago
Depending on the scenario you may want to use both SET or SELECT.
Following are few scenarios for using SET
- If you are required to assign a single value directly to variable and no query is involved to fetch value
 - NULL assignments are expected (NULL returned in result set)
 - Standards are meant to be follow for any planned migration
 - Non scalar results are expected and are required to be handled
Using SELECT is efficient and flexible in the following few cases. - Multiple variables are being populated by assigning values directly
 - Multiple variables are being populated by single source (table , view)
 - Less coding for assigning multiple variables
 - Use this if you need to get @@ROWCOUNT and @ERROR for last statement executed
 
Posted by Deepak Jangra 8 years, 2 months ago
- 1 answers
 
Posted by Arjun Malik 8 years, 2 months ago
- 0 answers
 
Posted by Pooja Mishra 8 years, 2 months ago
- 0 answers
 
Posted by Ankush Dutt 8 years, 2 months ago
- 0 answers
 
Posted by Nitin Yadav 8 years, 2 months ago
- 0 answers
 
Posted by Saurav M 8 years, 2 months ago
- 0 answers
 
Posted by Kulnoor Alam 8 years, 2 months ago
- 0 answers
 
Posted by Esha Tiwari 8 years, 2 months ago
- 0 answers
 
Posted by Merin J Maria 8 years, 2 months ago
- 1 answers
 
Priya Singh 7 years, 9 months ago
/*
Visit http://www.programmingwithbasics.com/
*/
class CtoF
{
public static void main(String[] args)
{
float cel,feh;
Scanner scan = new Scanner(System.in);
System.out.println("Enter The Temperature in Celsius");
cel = scan.nextFloat();
feh = 32 + (cel * 9 / 5);
System.out.println("Temperature in Fahrenheit = " + feh);
}
}
Posted by Prabhleen Johal 8 years, 2 months ago
- 0 answers
 
Posted by Mariya Aasim 8 years, 4 months ago
- 0 answers
 
Posted by Ritu Saxena 8 years, 7 months ago
- 1 answers
 
Posted by Bindass Kamaal 8 years, 7 months ago
- 1 answers
 
Naveen Sharma 8 years, 7 months ago
Ans. you must pass theory and practical exam separately. if crossed mean he/she didn't get qualifying marks in the theory then it means he/she is failed in that perticular paper and have to attempt it again.
Posted by Alifiya Parkar 8 years, 7 months ago
- 1 answers
 
Priyankaa Singh 8 years, 7 months ago
/ is a divisional operator which gives the result of a division..
While % is a modulus operator which gives the remainder of a particular division
Posted by Love Kumar 8 years, 7 months ago
- 0 answers
 
Posted by Chocolaty Chahat 8 years, 8 months ago
- 1 answers
 
Naveen Sharma 8 years, 8 months ago
And.
- Primary keys: Contain one or more columns whose combined values uniquely identify every row in a table. Each table can have only one primary key.
 - Alternate keys: Contain one or more columns whose combined values uniquely identify every row in a table.
 
Posted by Tamanna Bhanwala 8 years, 8 months ago
- 1 answers
 
Naveen Sharma 8 years, 8 months ago
Ans. Officially called the Unicode Worldwide Character Standard, it is a system for "the interchange, processing, and display of the written texts of the diverse languages of the modern world." It also supports many classical and historical texts in a number of languages.
Currently, the Unicode standard contains 34,168 distinct coded characters derived from 24 supported language scripts. These characters cover the principal written languages of the world.
In Unicode, a script is a collection of letters and other written signs used to represent textual information in one or more writing systems.
Some scripts support one and only one writing system and language, for example, Armenian.
Other scripts support many different writing systems; for example, the Latin script supports English, French, German, Italian, Vietnamese, Latin itself, and several other languages.
Posted by Tamanna Bhanwala 8 years, 8 months ago
- 1 answers
 
Naveen Sharma 8 years, 8 months ago
Ans. 2 times
First time as (5<= 10 ) so condition true
Now y = 10 and x = 5
Second time as ( 5 <= 10 )
now y = 2 and x = 5
now condition is false.
Posted by Tamanna Bhanwala 8 years, 8 months ago
- 1 answers
 
Srinivas Chandra 8 years, 8 months ago
Dear dinesh,
it is difficult to explain everything as in ouput questions we have for , while and do while loops and each loop execute differently when resume , continue commands are used so ask question and i will try to explain it clearly.
Posted by Radhika Saini 8 years, 9 months ago
- 1 answers
 
Imran Khan 8 years, 8 months ago
Converting a String to a float requires that you first convert the String to a Float object, then convert the Float object to a float data type (Float is an object, while float is a primitive data type).
An example of a simple program that performs this conversion is shown below:
<pre> public class StringToFloat { public static void main (String[] args) { // String s = "fred"; // do this if you want an exception String s = "100.00"; try { float f = Float.valueOf(s.trim()).floatValue(); System.out.println("float f = " + f); } catch (NumberFormatException nfe) { System.out.println("NumberFormatException: " + nfe.getMessage()); } } } </pre>Other notes
- Float.toString(float f) is used to convert in the other direction, from a float to a String.
 

myCBSEguide
Trusted by 1 Crore+ Students

Test Generator
Create papers online. It's FREE.

CUET Mock Tests
75,000+ questions to practice only on myCBSEguide app
 myCBSEguide