This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes compiler error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "compiler error" Watch "compiler error" New topic

compiler error

arivu mathi
Ranch Hand

Joined: Jun 26, 2006
Posts: 38
can u plz explain why there is a compiler error?

public class Test12{
public static void main(String a[]){
byte b = 100;
Byte b1= new Byte(100);
Byte b2 = new Byte(b);
System.out.println(b1 == b2);
What is output?
wise owen
Ranch Hand

Joined: Feb 02, 2006
Posts: 2023
compile time error at Byte b1= new Byte(100);
this one may explain to you.
arivu mathi
Ranch Hand

Joined: Jun 26, 2006
Posts: 38
thanks a lot wise...
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: compiler error
jQuery in Action, 3rd edition