Ask Experts Questions for FREE Help !
Ask
    pbishnu1995's Avatar
    pbishnu1995 Posts: 1, Reputation: 1
    New Member
     
    #1

    Jun 20, 2017, 12:33 AM
    How the output of the below program is 49?
    class Class1{
    public static void main(String args[]){
    double d=061;
    System.out.println(d);
    }
    }

Check out some similar questions!

What is the logic of the output of this program? [ 0 Answers ]

public class Main { public static void main(Stringargs) { int y = 12; int z = 0; for (int index = 0; index <= y; index++) { if ((index % 3 == 0) && (index % 2 == 0))

Why output is not 121212 in following java code but the output is |||? [ 1 Answers ]

please help in following java code, I have to write 121212 ten times in poll.txt file but when I open poll.txt file it shows me |||||||||| output import java.io.*; class Byte{ public static void main(String args) throws IOException { try{FileOutputStream f=new FileOutputStream("poll.txt");...

To get higher wattage output in a lower output fixture. [ 1 Answers ]

We purchased a Harbor Breeze fan with light fixture, but did not see that the wattage output was only going to be 40 watts. We need more lighting in our room. We have tried bigger watt bulbs but the fixture starts to blink and then goes dim(back to the 40 watt output). How can we change that?

Qestion1:emplyee pay program, question2:average program [ 1 Answers ]

I would just like to know how to write these programs and the proper way in which to go about doing so. Question #1 In this exercise you create a program that displays an employee’s name and gross pay. a) The figure below shows the partially completed IPO chart for the payroll program....


View more questions Search
 

Question Tools Search this Question
Search this Question:

Advanced Search

Add your answer here.