Write the output for the following:
 System.out.println(“Incredible” + “\n” + “world”);

1 Answer

Answer :

Incredible
world

Related questions

Description : System.out.print(“BEST “); System.out.println(“OF LUCK”); Choose the correct option for the output of the above statements: (i) BEST OF LUCK (ii) BEST OF LUCK

Last Answer : Ans. (i) is the correct output. System.out.print() does not add a new line at the end because of which ‘OF LUCK’ gets printed on the same line as ‘BEST’.

Description : Write one difference between / and % operator.

Last Answer : Ans. / is division operator while % is modulus operator which gives the remainder on dividing two numbers.

Description : Write a difference between Unary and Binary Operator

Last Answer : Ans. Operators that acts on one operand are referred to as Unary Operators while Binary Operators acts upon two operand Unary + or Unary – , increment/decrement are the example of Unary operator While binary operator +,-,*,/ and % are the example of binary operators , (+) adds values of its operands

Description : If int y = 10 then find int z = (++y * (y++ + 5));

Last Answer : Ans. Increment operator has the highest precedence. So, ++y and y++ will be evaluated starting from left. In ++y, the value of y will be incremented to 11 and then 11 will be used in the expression. When y++ is evaluated, the current ... int z = (++y * (y++ + 5)); = 11 * (11 + 5 ) = 11 * 16 = 176

Description : What are the types of casting shown by the following examples: (i) char c = (char)120; (ii) int x = ‘t’;

Last Answer : Ans. (i) Explicit casting (ii) Implicit casting

Description : Name any two library packages.

Last Answer : Ans. java.util, java.io

Description : Name the operators listed below i) < ii) ++ iii) && iv) ?:

Last Answer : Ans. i) Less than comparison operator ii) Increment operator iii) And logical operator iv) Ternary operator

Description : int res = ‘A’; What is the value of res?

Last Answer : Ans. res will hold the ASCII value of ‘A’ which is 65.

Description : Classify the following as primitive or non-primitive data types: (i) char (ii) arrays (iii) int (iv) classes

Last Answer : Ans. (i) char – Primitive (ii) arrays – Non primitive (iii) int – Primitive (iv) Classes – Non primitive

Description : What is meant by a package.Give an example

Last Answer : Ans. Package in Java is a mechanism to encapsulate a group of classes, sub packages and interfaces., examples : lang , io , util etc..

Description : If the value of basic = 1500, what will be the value of tax after the following statement is executed tax = basic > 1200 ? 200 : 100

Last Answer : Ans. 200

Description : Why is the ‘S’ of System.out.println() function capital?

Last Answer : A: System is the name of a class present in java,lang package and hence it begins with a capital letter as is the convention for class names.

Description : What is the use of out in System.out.println()?

Last Answer : A: ‘out’ is an object of the ‘PrintStream class and a static data member of the’System’ class which is calling the println() function.

Description : What is the difference between print() and println() methods?

Last Answer : A: The print() functions prints a line and the control remains on the same line, whereas, the println() function prints a line and the control moves on to the next line.

Description : What time in history did someone or some group of people do something incredible given what little they had?

Last Answer : Probably Ukraine holding off Russian forces for this long when it was predicted half would fall within 3 days.

Description : Do you have any incredible life hacks or tips you've learned recently, that have been so great you don't know why you didn't do or discover them sooner?

Last Answer : I used to pay extra on my utility bills and get better interest than a bank savings account. They stopped that now.

Description : Is Trump aiming to beat Kim Jong-il's incredible golf record?

Last Answer : There is no reasonable answer to the question “who can tell the bigger lie?”

Description : What kitchen appliances do you have that you feel were incredible buying decisions?

Last Answer : My titanium ceramic Gotham steel frying pan. Only cost me $20 and is scratch resistant.

Description : Have you heard about this incredible brain research?

Last Answer : I just watched the video .Thanks.

Description : Why is it so hard for some people to imagine what incredible lengths they would go to to get something to eat, if they were literally starving to death?

Last Answer : Living in a country where obesity is rampant might have something to do with it.

Description : What distinction can be made between devastating & incredible [see details]?

Last Answer : This is a subjective and somewhat arbitrary ratings spectrum, compiled by people at a news station who are not necessarily English majors more for broadcast effect than linguistic correctness To me, “devastating” means massive destruction, while “Incredible” is means little more than massively big.

Description : Can you reveal the incredible Black Friday deals you got this year?

Last Answer : I had an extremely relaxing day at home. Best deal of all.

Description : Can you guess which incredible jelly just hit 20k?

Last Answer : Yay. 20000 congrats to you lucille!

Description : Have you found any incredible deals or offers for Black Friday, either from in-store or on-line ads?

Last Answer : answer:Here’s a good starting place: http://www.bgr.com/2010/11/22/bgrs-guide-to-black-friday-2010/ — And I’m always on the lookout for good Apple deals, too: http://www.apple.com/shopping-event/?aid=aos-us-bft-fy11

Description : Do you believe this incredible statement I heard on tv about how many planets exist?

Last Answer : Imagine if they used all the grains of sand from Tatooine to say the number of planets

Description : Htc desire vs htc incredible vs droid X?

Last Answer : answer:I am partial to the Incredible over the Droid X for sure, but I've never actually used the Desire. To put it simply, you're going to be getting a different 3rd party skin for Android on either ... from the entire experience of the Droid X. I also prefer a smaller phone, but that's just me.

Description : What is the coolest phrase to yell right after you have done something incredible?

Last Answer : we like to say “que quilombo!”

Description : Does anyone else agree that Final Fantasy 12 was an incredible game?

Last Answer : Hmm, never played it but was a huge fan of the series. I thought FFX was simply amazing (albeit a little short)

Description : Could the Care Bears defeat the Incredible Hulk?

Last Answer : Wow. Simply…wow. Nominated for Best Question on Ask-public.

Description : I quit facebook today. I feel incredible.

Last Answer : Everything is good in moderation. You obviously had a facebook addiction and are now going cold turkey. You’ll be back. You have to be back. MUAHAHAHAHHAHA

Description : Reddit, let’s build an incredible internet playlist. What are your favorite songs?

Last Answer : Def Leppard -- "Armaggedon It!"

Description : Who is the author of the book “Superstar India From Incredible to Unstopable”– -Do You Know?

Last Answer : answer:

Description : incredible hosting site?

Last Answer : I think number one hosting site, I have 5 website domains with this hosting company see link below and all my friends are using Blue-host.. I suggest you signup. It costs as little as US2.95 per month. contact me: kepharskunda@Yahoo. com

Description : What is the most incredible hosting site in 2021?

Last Answer : I have found that Bluehost has been solid for me and my needs!yazing. com/deals/bluehost/stickysnifflesJust take the space out behind the .com and use the link. Goodluck!

Description : Why is the rice with apricots an incredible concoction In farewell to manzanar?

Last Answer : Need answer

Description : Where can I get coupons for incredible Pizza?

Last Answer : You can find coupons for incredible Pizza if you visit the Papa Johns website. They always have good deals for pizza and if you order online you can get good discounts.

Description : Are incredible ink cartridges any good?

Last Answer : Incredible cartridges print just as well as any name-brand cartridge out there. They're good for the environment because they recycle old cartridges, which means less plastic for landfills! Plus all that ... the product cheaper, so there's more ink in your printer and more cash in your wallet!

Description : The Incredible, Edible Avocado?

Last Answer : The avocado is rapidly gaining prestige as a nutritional food because of what science has churned up. It turns out this unique tasting plant provides almost 20 essential minerals. Even though they do contain ... , the case is set to make avocados part of your heart healthy, mind healthy, diet.

Description : How did Incredible Hulk become the Incredible Hulk?

Last Answer : Dr. Bruce Banner was accidentally exposed to gamma radiation while testing a gamma bomb out in the desert and having to go out to the test site to get a young boy named Rick Jones away from there right before it exploded.

Description : How did Incredible Hulk become the Incredible Hulk?

Last Answer : Dr. Bruce Banner was accidentally exposed to gamma radiation while testing a gamma bomb out in the desert and having to go out to the test site to get a young boy named Rick Jones away from there right before it exploded.

Description : An isotropic radiator is A. in the northern hemisphere B. an antenna high enough in the air C. an antenna whose directive pattern is substantially incredible D. a hypothetical, omnidirectional antenna

Last Answer : D. a hypothetical, omnidirectional antenna

Description : A(n) ______ is a set of programs designed to manage the resources of a computer, including starting the computer, managing programs, managing memory and coordinating tasks between input and output devices. a) application suite b) compiler c) input/output system d) operating system e) None of these

Last Answer : d) operating system

Description : A/n Device is any device that provides information, which is sent to the CPU A) Input B) Output C) CPU D) Memory

Last Answer : Answer : A

Description : Write the names of some output devices ?

Last Answer : Names of some output devices: 1. Monitor 2 . Printer ( Printer) 3. Speaker 4 . Plotter 5 . Projector 6 . Email Setter etc.

Description : Write the output for the following commands: (i) ls –a (ii) date “+%D”

Last Answer : i) ls –a : list all files including hidden files. These are files that start with “.”. ii) date “+%D” : Display date as mm/dd/yy. output: 11/26/19

Description : Indicate the false statement. Noise figure is defined as A. the ratio of the S/N power supplied at the input terminal of a receiver or amplifier to the S/N power supplied to the output or ... under test, both working at the same temperature over the same bandwidth and fed from the same source

Last Answer : C. an unwanted form of energy tending to interfere with the proper and easy reception and reproduction of wanted signals