Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!news-out.readnews.com!transit3.readnews.com!postnews.google.com!news2.google.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail NNTP-Posting-Date: Fri, 20 Apr 2012 09:49:51 -0500 Date: Fri, 20 Apr 2012 07:49:56 -0700 From: Patricia Shanahan User-Agent: Mozilla/5.0 (Windows NT 5.2; WOW64; rv:11.0) Gecko/20120327 Thunderbird/11.0.1 MIME-Version: 1.0 Newsgroups: comp.lang.java.programmer Subject: Re: no more primitive data types in Java (JDK 10+). What do you think? References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: Lines: 12 X-Usenet-Provider: http://www.giganews.com NNTP-Posting-Host: 70.230.201.141 X-Trace: sv3-p1wWkuDChDS60HVZsiUcnAgCsxnJhTRcRgnjtL+zSv8i8BUuG+wawBSAdyD0p+RiFzMa9oEDck+/pvz!jM/eDqUlJXFDJuXMGMHgemctothR3xWkZmVsp9udcSNvmwqtKswBdqY1csFlmvDTLRuXyfkWgGHO!OjuSVxitX3U7FKn4PviEjsFj9/RXe8/CBhNPP1n9sZwZ4GY= X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 1546 Xref: csiph.com comp.lang.java.programmer:13694 On 4/19/2012 11:27 PM, Tsukino Usagi wrote: ... > 5.length() or 5.size()? Well if 5 is an object I should be able to > over-ride it. > > Class 6 Extends 14 {} ... I'm sure if the literal 6 were mapped to an Object, it would be an instance of Integer or some other final class, preventing overriding. Patricia