Home Tutorialhelp Comment exact answer

 
 

Comment

harivardhan
exact answer,
July 15, 2008 at 5:36 AM

Question: Read the following program:


public class test {
public static void main(String [] args) {
int x = 3;
int y = 1;
if (x = y)
System.out.println("Not equal");
else
System.out.println("Equal");
}
}


Answer::
---------

comment is
cannot convert int to boolean(Type mismatch)

ans is in if block keep this code
if(a==b)


View All Comments | View Tutorial
Advertisement
Related Tutorial and Articles
Programming Tutorials

Corejava Interview,Corejava questions,Corejava Interview Questions,Corejava
use the equals method to make an exact match.    Q 3. How can I get...; Q 14. How can I generate an array from a list ? Ans : The answer 

Programming Tutorials

Corejava Interview,Corejava questions,Corejava Interview Questions,Corejava
to make an exact match.       Q 15 : How can I get a class 

Java Beginners

corejava
 

Java Interview Questions

corejava
 

Java Beginners

CoreJava
 

Regex Questions

answer
 

Java Beginners

CoreJava Project
CoreJava Project  Hi Sir, I need a simple project(using core Java, Swings, JDBC) on core Java... If you have please send to my account 

Development process Questions

search for exact match in excel
search for exact match in excel  How to search for an exact match in excel and show data if the matched sting is found? Please tell me the script. Thanks in Advance 

Programming Tutorials

Corejava Interview,Corejava questions,Corejava Interview Questions,Corejava
 

Programming Tutorials

Corejava Interview,Corejava questions,Corejava Interview Questions,Corejava
 

Java Beginners

corejava - Java Beginners
corejava pass by value semantics  Example of pass by value semantics in Core Java.  Hi friend,Java passes parameters to methods using pass by value semantics. That is, a copy of the value of each of the specified 

Java Interview Questions

print a-z, A-Z with exact order using loops
print a-z, A-Z with exact order using loops  how to print from a-z, A-Z with exact order using for loop? Thanks for all concern 

Java Beginners

answer it soon
answer it soon  write a proggram to accept a number and check whether the sum of prime factors of a number is a prime number 

Java Beginners

CoreJava - Java Beginners
 

Java Interview Questions

corejava - Java Interview Questions
 

Java Interview Questions

corejava - Java Interview Questions
 

Java Interview Questions

corejava - Java Interview Questions
 

Java Interview Questions

corejava - Java Interview Questions
 

Java Interview Questions

corejava - Java Interview Questions
 

Java Interview Questions

corejava - Java Interview Questions
 

Java Beginners

corejava - Java Beginners
 

Java Interview Questions

Corejava - Java Interview Questions
 

Java Beginners

corejava - Java Beginners
 

Java Beginners

corejava - Java Beginners
 

Java Beginners

corejava - Java Beginners
 

Java Beginners

corejava - Java Beginners
 

Java Beginners

corejava - Java Beginners
 

Java Beginners

corejava - Java Beginners
 

Java Beginners

java.please answer this...
java.please answer this...   Q1).How we can write a complete JAVA program that computes the following summation formulas..? ??_(i=1)^n????i^2=?? (n^(2 ) ??(n+1)??^2)/4 

JSP Servlet Questions

Find Exact Location from IP address in java?
Find Exact Location from IP address in java?  I am looking for API where we can pass IP address and get the location (Cityname,Country name). please suggest any API OR sample code. Thank you 

Java Beginners

Fetching the exact data from file using java
Fetching the exact data from file using java  **hi ... i am having one .lst file.. that file consists of instructions and opcodes.. now i want to fetch only the opcode from that file.. could u pls anyone guide me this using java 

Java Beginners

need answer
 

Java Beginners

give answer
 

JSP Servlet Questions

send answer
 

Ajax Questions

my answer
 

PHP Questions

How to find the exact PHP template I need?
How to find the exact PHP template I need?  Hi! I'm a PHP Pro?I think I am one?, but this is the first time for me to try a PHP template, so I have no clue on how to choose one. Do you have some tips to help me choose 

Java Interview Questions

print from a-z, A-Z with exact order using for loop
print from a-z, A-Z with exact order using for loop  how to print from a-z, A-Z with exact order using for loop? Thanks for all concern 

Java Beginners

Answer for SCJP Module-1 Question-13
Answer for SCJP Module-1 Question-13  The Answer for SCJP Module-1 Question-13 is missing , I think the answer is option '1', Correct me if I am wrong 

JavaScript Questions

pls answer the Trangle pattern
pls answer the Trangle pattern    a b c d e b c d e c d e d e e Please answer and give the code for above triangle 

JSP Servlet Questions

Urgent Answer Req
Urgent Answer Req  how to view the file content which is at client side from jsp in java 

Java Beginners

please answer me
please answer me  iam using html in select tag.in this one option i selected and that option data will be display in table.And use servlet with html and how to retrieve the data from data base 

Java Interview Questions

Please give me the answer.
"int a=08 or 09" its giving compile time error why   "int a=08 or 09" its giving compile time error why ? can any one give me the answer of this please 

Ajax Questions

share your answer to this question
share your answer to this question  i need to know what is the TELERIK CONTROL? what is the map suite? what is dunda chart? Also i have to know what are the websites available which give infor regarding this. Let me know how 

Java Beginners

pls answer these question
pls answer these question  Write a program that prompts the user to input the length and width of a rectangle. Then calculate and prints the rectangle??s area and perimeter.   import java.io.*; class rectangle 

Java Beginners

Is the answer 35, 35?
Is the answer 35, 35?  int a = 5; int b = 7; int num = 35; while (a < b) { System.out.println(?My age is ? + num); a = a + 1; }   Hello Friend, class Check{ public static void main(String[] args 

Java Beginners

answer me this program
answer me this program  Java Code to Maintain student record,Name, Age, Marks of 5 subjects for a Student,Display Student age and name,Calculate Average of all marks and display it   Java student record import 

Java Beginners

answer me this program
answer me this program  Java Code to Maintain student record,Name, Age, Marks of 5 subjects for a Student,Display Student age and name,Calculate Average of all marks and display it   Java student record import 

Java Beginners

plz answer - Java Beginners
 

Java Beginners

Plz answer - Java Beginners
 

Security Questions

pls answer - Security
 

JSP Servlet Questions

s per ur answer
 

Java Interview Questions

plz give me answer
 

Java Interview Questions

plz give me answer
 

Java Server Faces Questions

plz give me answer
 

Java Server Faces Questions

plz give me answer
 

Java Beginners

GIVE ME A ANSWER
 

Java Beginners

to know my answer
 

HTML Questions

plz give me answer plz
plz give me answer plz  writw a programme to find rank from an array using doubledimmensionalarray 

JDBC Questions

please send me the answer - JDBC
please send me the answer -difference between DriverManager and DataDourse   what is Datasourse? What r the advantages? what is the difference between DriverManager and DataDourse 

JSP Servlet Questions

Please answer me - JSP-Servlet
Please answer me  Hello Guys, this is the third time I'm sending this question. But I've not got the right answer from you. The again is: I need java servlet or jsp codes that I can use to insert and retrieve image from MSSQL 

JSP Servlet Questions

Plz send me answer quckly
Plz send me answer quckly  Respected Sir, myself is pavan shrivastava.i want ask a question that is ( we can't create object of interface then how would possible to create object 

JSP Servlet Questions

answer this qs in 5 mins plss
answer this qs in 5 mins plss  Create an Web Application, which allows a user to search a book as follows: Based on ISBN code, if he is aware of the code (or) Based on the Book Categories The results of the search has 

Java Beginners

i cNT GET ANSWER FOR THIS QUESTION
i cNT GET ANSWER FOR THIS QUESTION  The roots of the quadratic equation ax2+bx+c=0, aï??¹0 are given by the following formula: x=(-b?±â?š(b^2-4ac))/2a In this formula. The term b2-4ac is called 

Java Beginners

What is the answer and how the program work?
What is the answer and how the program work?  public class Threads2 implements Runnable { public void run() { System.out.println("run."); throw new RuntimeException("Problem"); } public static void main(String[] args 

Java Interview Questions

java interview question and answer - Java Interview Questions
java interview question and answer   sir, i want one mark java interview question and answers 

HTML Questions

how to get following answer in turbo c program
how to get following answer in turbo c program  input 123456789 output 1 2 3 4 5 6 7 8 9 

JSP Servlet Questions

Please , can any one answer this Question?
Please , can any one answer this Question?  How to cummunicate one web application to another web application in different places 

PHP Questions

Answer me ASAP, Thanks, very important
Answer me ASAP, Thanks, very important  Sir, how to fix this problem in mysql i have an error of "Too many connections" message from Mysql server,, ASAP please...Thanks in Advance 

Java Beginners

please i want someone to answer me pleeeeeeeeeeeeease...
please i want someone to answer me pleeeeeeeeeeeeease...    Write a JAVA program using 2D array to auto-grade exams. For a class of N students, your... answer key as Final Array in your program.( using 2D array 

Java Beginners

how the answer is 13 can anyone explain plz
how the answer is 13 can anyone explain plz  public class that { public static void main(String arr[]) { int i=3; int j=1; while(i<4) { //j=i; i=i+j/2; } System.out.println(i 

Java Beginners

help i want it now the answer pleas...
help i want it now the answer pleas...  write a program that will display the exactly output as below: Hints: declare and initialize value of array in double type.Read and write all elements of array.perform the multiply 

Java Beginners

plz. answer my ques - Java Beginners
plz. answer my ques  I want to ask a prog. prob which would create a prog that would simply take username and password as input and will display ***** while taking passwords as input.(As it is done at login in websites). Also 

Java Beginners

Java experts.Please answer this question - Java Beginners
Java experts.Please answer this question  class A { void get() { System.out.println("A's method"); } } class C extends A{} class D extends A { void set() { System.out.println("D's method"); } } class ins { public 

Hibernate Tutorial Example

hibernate criteria MatchMode Exact Example
hibernate criteria MatchMode Exact Example In this Example, We will discuss about hibernate criteria query, In this example we create a criteria instance and implement the factory methods for obtaining certain built-in Criterion types 

Java Beginners

Clarify my last question's answer - Java Beginners
 

Programming Questions

Question Answer
website. If you found the question you can read the answer if it solves your problem then you can post your comment. If proper answer is not given you can...? Browse Latest Questions Question-Answer Guidelines 

Ajax Questions

pls give me answer ae soon as possible - Ajax
pls give me answer ae soon as possible  i m writing code of ajax technology ...but it is not working pls check it n give me response quickly... give me quick response!!! thanks & regards shashank gupta 

Struts Questions

Would you know answer means please send reply urgent
Would you know answer means please send reply urgent  HTTP Status 404 - /struts/HelloWorld.jsp type Status report message /struts/HelloWorld.jsp description The requested resource (/struts/HelloWorld.jsp) is not available 

Framework Questions

need the answer vry urgently..plz help me...[plzzzzzzzz
need the answer vry urgently..plz help me...[plzzzzzzzz  the question is.... 1-create a form accepting user name,password and confirm password. 2.javascript validation, 3.check against the database that all the information given 

Java Beginners

i need to answer this Question but i can't do it probably
i need to answer this Question but i can't do it probably   use the web to locate the lyrics to the traditional song"The Twelve Days of Christmas" the song contains a list of gifts received for the holiday.the list is cumulative 

Java Beginners

hello sir, please give me answer - Java Beginners
 

Programming Questions

Question-Answer Guidelines
Question-Answer Guidelines How to ask questions... search the answer in the archive sections, it may be possible that users will get... and rating the articles/ tutorials. Same like this, question-answer section 

JSP Servlet Questions

hi,i'am new to Jsp.Can some one please let me know an answer for this question?
hi,i'am new to Jsp.Can some one please let me know an answer for this question?  how do we upload an xml file and validate them against WIPO DTD 

JSP Servlet Questions

autentication & authorisation - JSP-Servlet
/interviewquestions/corejava/null-marker-interfaces-in-java.shtml Thanks 

Interview Questions

Interview Questions and Answers
interview questions and some possible ways to answer them. Please remember that there cannot be just one answer to them. Your answers depend a lot on your particular... a challenging issue you had to face, your answer would depend on your particular background 

JavaScript Questions

An exercise using (SRS) as a blue print for Abstraction and Modeling in a one page answer. Was this example correct?
An exercise using (SRS) as a blue print for Abstraction and Modeling in a one page answer. Was this example correct?  The software tool to help automate the process of producing a blueprint for problems with a television 

Interview Questions

Difficult Interview Questions Page -6
;    Question 51:  Are you willing to travel? Answer... in the in-office jobs. So this question is asked to you. Answer according to the job... to be on the road and is it fits in your life style. Now answer according to your nature 

Interview Questions

Difficult Interview Questions Page -4
;    Question 31: Why were you fired? Answer...; Actually I could not assess the exact reason, why he released me so quickly...: Why are you leaving your job? Answer: This is  a very typical question 

Interview Questions

Difficult Interview Questions Page -7
the most attractive? Least attractive? Answer: Be positive and define three or more...;  or      Where do you see yourself in five years? Answer... existence in this company. The answer of  this question also reflects 

Java Beginners

Hello - Java Beginners
Hello   Hi Friend, I want to java objective type question(means programming objective)+answer If u know any url then please... this link.... http://www.roseindia.net/interviewquestions/ Thanks 

JDBC Questions

create webpage with table sql database using netbeans 6.8 with struts complete tutorial.(include username and password) 0 Answer(s)
create webpage with table sql database using netbeans 6.8 with struts complete tutorial.(include username and password) 0 Answer(s)  create webpage with table sql database using netbeans 6.8 with struts complete tutorial.(include 

General

Core Java Interview Questions!
;    Question: What is transient variable? Answer... as their default layout? Answer: Containers which uses Border Layout as their default... understand by Synchronization? Answer: Synchronization is a process 

Interview Questions

Difficult Interview Questions Page -1
;    Question 1: Tell me about yourself ? Answer: Whenever... attributes / experience do you have? Answer:  Though Interviewer panel...; (Keep it  short and simple.) Your answer should be match to your resume. Give 

Technology

Fleet tracking services
Fleet tracking services helps people in fleet business to know the exact location of their moving fleet. These device are preinstalled in the vehicles, which... of the location of the vehicle, exact picture of the area where the vehicle 

Struts Questions

java - Struts
java  Can you pl. tell me what is the exact meaning of "DESIGN PATTERN". Where will use. What are the types in it?  Hi friend, Design.../interviewquestions/design-patterns/design-patterns-interview-questions1.shtml 

General

Java BigDecimal longValueExact example
Java BigDecimal longValueExact example       Java bigdecimal class longValueExact() method transforms bigdecimal value exactly in to exact long type values. Method throws 

General

Java BigDecimal byteValueExact example
Java BigDecimal byteValueExact example       With this example, working of byteValueExact() method in getting exact byte value from a bigdecimal object is demonstrated 

General

Advertising on our website
Advertise on websites       Online advertising now is no more just to promote a product or service but to understand the exact need of the online buying 

Core Java

Java Glossary
Java Glossary  Java Technical Glossary  Technical glossary is a complete list of Web terminology that provides the users the exact and nearby meanings of any technical word uses in Java and Web technology fields. Here 

Technology

Utility Fleet Management System
answer to questions related to driver?s behavior during the course, data related... a manager or owner of the fleet. If you know the exact position of the vehicle 

Advertisements Advertisements
 

 

 

DMCA.com