-
Question on data type
In the statement that follows, x can NOT be what data type?
switch (x) {statements}
we have a choice from the following: int, char, long, byte
Please help me, my instructor gave us this for extra credit, and I really need help. Any help would be greatly appreciated.
Thanks,
Jennifer Taylor
email: JTAYLOR5074@email.vccs.edu
-
The switch measure must be an int or char or int equivalent (enum).
Code up a test and put a variable of the other data types into it ...
Similar Threads
-
By holyknight in forum VB Classic
Replies: 6
Last Post: 02-28-2006, 07:42 AM
-
Replies: 3
Last Post: 01-10-2002, 06:33 PM
-
By Neen Help in forum VB Classic
Replies: 1
Last Post: 01-22-2001, 01:57 PM
-
By Craig Pearson in forum Database
Replies: 2
Last Post: 12-14-2000, 09:40 AM
-
By Partha Chakraborty in forum Java
Replies: 0
Last Post: 03-25-2000, 04:18 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks